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
- Update rolify.rb
- Is there a way to query a role by model class and resource id, instead of running a query for the resource?
- foreign key of other table as a primary key of Role Table.
- user.has_role? always returns false
- How to use OR conditions with with_roles condition
- How to override RoleAdapter
- 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!?
- Docs
- Themes#names
- Themes#initialize
- #redirect_with_vary
- RedirectWithVary#build_response
- PerOperationWithDeadline#readpartial
- PerOperationWithDeadline#reset_counter
- PerOperationWithDeadline#connect
- PerOperationWithDeadline#initialize
- Mastodon::PrivateNetworkAddressError#initialize
- Mastodon::PrivateNetworkAddressError#host