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.
9 Subscribers
Add a CodeTriage badge to cancancan
Help out
- Issues
- Resource Loader gets ignored with Whitespace-Only ID in URL (e.g., "\n")
- Allow use of null values in enums on active record 5
- Can't apply rules to `create` action without affecting `new` because of aliasing
- Creating resource failes when association is polymorphic and singleton.
- Why are merged rules still bound to the merged Ability class?
- How to define ability action name that is same as the default action aliases?
- Possible breaking change with handling of `nil` conditions in 3.5.0
- can? should return false when there are no attributes that the current user can perform action on
- `can?` unnecessarily loads relationships in memory when it could leverage `accessible_by`
- Leverage accessible_by from can? when possible
- Docs
- Subscribe to help with docs for this repo and come back later