novatoolpermissions
novatoolpermissions copied to clipboard
Permission Not working correclty
Hi
I have two roles admin and normal user.
On normal user login. It should not able to assign and edit roles. So why edit, delete icon is showing. and I'm able to detach the roles but it should not.
Do you have the admin role assigned to an admin user? Unless a permission is actually assigned to a user it will fall back to allow access for anyone.
Yes I have
I've got a similar thing happening here, two roles, both defined, not all of the gates are firing for users without the permissions. The non-admin user does not even have the "Access Nova" permission so they shouldn't even be able to login to Nova, right?
*EDIT
I believe this is the default functionality for guards when environment is set to local
in .env:
