cancancan
https://github.com/cancancommunity/cancancan
Ruby
The authorization Gem for Ruby on Rails.
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.
10 Subscribers
Add a CodeTriage badge to cancancan
Help out
- Issues
- Introduce Model.accessible_through
- Assign access permissions to a model according to the role of the current_user
- Controller helper loads everything for show/edit
- Override loading is not preventing CanCanCan from loading it again if the previous load was nil
- Undefined Method exception when block is passed with curly braces
- global access to an attribute appears to grant global access to the the object as well
- Working with large collections
- When authorize_resource is called before loading the instance, it grants access to unauthorized actions
- Support combining scopes when loading records, use Arel instead of SQL
- load_and_authorize_resource is not working properly after a before_action find
- Docs
- Subscribe to help with docs for this repo and come back later