I want to create different pages for users and admins. It seems that:
$app->user->checkAccess('uri_my-whatever-access-rights')
does not work for admins, it always validates to true. I don't want the admin to have the same options as a regular user.
This goes for index.php (Slim) as well as the Twig templates (admins see all user menus, even though they are only meant for users).
Bug? Am I doing something wrong?
Thanks