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

Updating roles question #129

Open
rsb177 opened this issue Mar 19, 2021 · 1 comment
Open

Updating roles question #129

rsb177 opened this issue Mar 19, 2021 · 1 comment

Comments

@rsb177
Copy link

rsb177 commented Mar 19, 2021

I was testing the library out to see if it would work for my project but noticed that if I add a permission to a role, it doesn't add it to anybody with the role already. I saw the reset roles command, but it said that is only recommended for development. What's the recommended way to handle making changes to a role for existing users?

@filipeximenes
Copy link
Contributor

Hi @rsb177, the only reason the command is not recommended for production is because it might be too inefficient, but of course this will vary depending on your project context. The recommended approach is to either review the code of the command and evaluate if it works in your setup or to write your own custom script.

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

2 participants