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

Still can add, remove, update roles even if role has no permissions over roles resource #26

Open
florinmatthew opened this issue Dec 17, 2018 · 6 comments

Comments

@florinmatthew
Copy link

florinmatthew commented Dec 17, 2018

error

new_role

Added a role as content editor. As this image shows, I can still see Roles and even add and remove roles.

@florinmatthew florinmatthew changed the title Still can add, remove, update roles eve if role has no permissions over roles resource Still can add, remove, update roles even if role has no permissions over roles resource Dec 17, 2018
@m2de
Copy link
Contributor

m2de commented Dec 17, 2018

Hi @florinmatthew . Do you have any other Roles setup which have rights to Assign Roles? If so, are these roles assigned to any users? If nobody has access to a specific role, the system will default to grant everyone access.

@florinmatthew
Copy link
Author

@m2de Yes, I do:
admin_assign_roles

@m2de
Copy link
Contributor

m2de commented Dec 17, 2018

Strange one. Might need to have a bit more information about your codebase (e.g. have you customised the default Policies or is everything related to the Permissions tool / Brandenburg the default setup?).

Also, what versions of Laravel, Nova etc are you running please?

Many thanks.

@florinmatthew
Copy link
Author

florinmatthew commented Dec 17, 2018

@m2de Nothing customized. No additional policies added. About the version: Nova - v1.1.3; Laravel 5.7;

@m2de
Copy link
Contributor

m2de commented Dec 20, 2018

Hi @florinmatthew. I will need to try and reproduce this issue, will update you when I have had a chance to do so. Cheers!

@greensunrise
Copy link

@m2de I followed the steps described in the doc but I get this error despite using the trait.
image_url

yayann added a commit to SGS-Optimisation/novatoolpermissions that referenced this issue Jan 23, 2023
…account-seed

updated changes for client account
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