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
- Bump actions/checkout from 3 to 4
- has_role? does not work for new_records
- Can't join 'User' to association named 'users_roles'; perhaps you misspelled it?
- Specs fail if user itself is resourcified
- improve respond_to handling for is_..? methods
- can we define a hierarchy for the role lookup until it goes to global?
- Calling .count .one? or .many? on with_roles scope in Rails 7 raises StatementInvalid error
- without roles not working
- Can't add a counter_cache
- [Question]How can I manage roles from resource instance perspective?
- Docs