My idea:
Route::group(['before'=>'auth'], function()
{
Route::group(['before'=>'group_auth:foo'], function()
{
// only users with group: foo
});
Route::group(['before'=>'group_auth:bar'], function()
{
// only users with group: bar
});
});
auth
group_auth
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community