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
- docs: clarify why block is required when using a scope
- Fix: `permitted_attributes` ignores `cannot` and default-deny rules
- Calling `can?` with class and additional arguments does not call block defined in `can`
- Should respect through_association for singleton resource
- Optimize can?
- Permitted attributes configuration suggestion
- Fix CanCan::RulesCompressor for STI subclasses
- Support `through_association` with `singleton`.
- Check rule's subject's inheritance if subject is a Class or Module
- accessible_by permanently modifies a rule's conditions via normalize_conditions, causing can? to fail
- Docs
- Subscribe to help with docs for this repo and come back later