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
- remove all roles for a resource
- Add method only_has_role? and only_witth_role
- Adding roles on unpersisted records (mongoid)
- Role inheritance
- without_role is not working as expected if used to filter result of with_role.
- Cannot get instances of a class having any/some role specified in an array
- Roles loaded from db?
- User.with_role does not properly scope
- Check association for roles
- has_many :through would supose a real improvement
- Docs