Myth-Auth Role filter parameter issues |
(04-20-2020, 04:28 AM)Gary Wrote: I'd suggest having everything redirect to your custom filter code, which is responsible for the role check, and handles each accordingly... it would probably simply return for this "super-user" group, and redirect other users to a "have a nice life" page. I have another issue also; $routes->group('admin', ['filter' => 'login'], function($routes){ $routes->group('catalog', [ 'namespace' => 'Modules\Catalog\Controllers' ], function($routes){ $routes->group('products', function($routes){ $routes->add('/', 'Products::productList', ['as' => 'product-list' ]); }); }); }); when am using route groups like this , the filter is not working on the top group. what may be the issue? |
Messages In This Thread |
Myth-Auth Role filter parameter issues - by midhunlalkc - 04-20-2020, 04:01 AM
RE: Myth-Auth Role filter parameter issues - by Gary - 04-20-2020, 04:28 AM
RE: Myth-Auth Role filter parameter issues - by midhunlalkc - 04-20-2020, 04:37 AM
|