-
Notifications
You must be signed in to change notification settings - Fork 405
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
Create role based only on instance #488
Comments
Currently the only way to prevent it is through your application code. Rolify won't enforce it for you. |
@EppO Thanks So I'm closing the ticket. |
Can you share your library? If it integrates with rolify, I can link it in the README like Cancan and Pundit |
@EppO Here's a link https://github.com/Kani999/rolify_restrictions |
@EppO |
Is there an option to create roles that we can assign to instances only but not to the whole class?
I want to define a role scoped to a resource instance:
But I want to disable defining role's scoped to a whole class
Is there any way, that I can forbid the second choice?
The text was updated successfully, but these errors were encountered: