rolify
https://github.com/rolifycommunity/rolify
Ruby
Role management library with resource scoping
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
6 Subscribers
Add a CodeTriage badge to rolify
Help out
- Issues
- Why is add_role so epically slow!?
- "Roles is invalid" exception when using with Mongoid 6 and Ruby On Rails 5
- User.with_role does not properly scope
- Both rolify and resourcify on one class, shared Role model
- model.add_role isn't working until manual addition of role to roles table
- User.with_role returning more data than it should, even in strict mode.
- How to preload the roles to avoid N+1?
- Change role join table association (HABTM) to a has_many through association
- Fix behaviour of with_any_role method with no args
- warning: already initialized constant User::HABTM_Roles
- Docs