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
- Add example projects that can be run locally for testing purposes
- Change with_any_role and with_all_roles to return an AR relation instead of an Array
- Add role to multiple resources
- Why is add_role so epically slow!?
- Add only_with_role finder
- Refresh the upgrade doc
- "Roles is invalid" exception when using with Mongoid 6 and Ruby On Rails 5
- Fix to check ActiveRecord prefix / suffix
- The name set for join_table is ignored when using finders.
- ActiveRecord and Mongoid adapters now acceps nil for role_name on remove
- Docs