![]() |
I have the following lines in my Config/Routes.php:
PHP Code: $routes->get('/', 'Home::index'); The public string $defaultGroup = 'user'; in Config/AuthGroups.php for a newly registered user is unchanged. However, when I navigate to http://localhost/clients (with a user in the default group) I can still see and interact with the page just fine. I confirmed the group alias filter is being applied to the route by using php spark filter:check GET /clients. It generated the following: Code: +--------+----------+----------------+---------------+ So the filter is being applied, but the arguments of admin,superadmin do nothing to filter a member of the user group. What am I doing wrong? |
Messages In This Thread |
Shield Route Filtering via group - by grimpirate - 02-20-2023, 01:23 PM
RE: Shield Route Filtering via group - by datamweb - 02-21-2023, 02:08 AM
RE: Shield Route Filtering via group - by grimpirate - 02-21-2023, 09:05 AM
|