Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission Not working correclty #56

Open
prakhargvp opened this issue May 10, 2020 · 3 comments
Open

Permission Not working correclty #56

prakhargvp opened this issue May 10, 2020 · 3 comments

Comments

@prakhargvp
Copy link

Hi
I have two roles admin and normal user.
Screenshot from 2020-05-10 16-48-42

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.

Screenshot from 2020-05-10 16-47-31

Screenshot from 2020-05-10 16-47-20

@m2de
Copy link
Contributor

m2de commented May 10, 2020

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.

@prakhargvp
Copy link
Author

prakhargvp commented May 10, 2020

Yes I have

Screenshot from 2020-05-10 18-47-29

Screenshot from 2020-05-10 18-45-54

@paperscissors
Copy link

paperscissors commented Jun 11, 2020

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:

nova

yayann added a commit to SGS-Optimisation/novatoolpermissions that referenced this issue Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants