skram
Guest and admins
Hello,
I want to be able to login as a guest or as an admin. Then some routes has to be forbidden.
I can do it for resources with canView function.
But for other pages like:
- Users
- Roles
- Translations
- Settings
I dont see how i can make these forbidden for non admins
Does anyone has any expercience with this?
2 replies