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
});
});
authgroup_authSign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.