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
- Rules for STI subclasses apply to parent classes in accessible_by
- STI parent access denied after adding cannot on child
- Introduce Model.accessible_through
- 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
- 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
- PG::UndefinedTable: ERROR: missing FROM-clause entry for table for Polymorphic Relationship
- Use `relation.and` instead of `relation.merge` whenever possible.
- Docs
- Subscribe to help with docs for this repo and come back later