CanCanCan
CanCanCan is an authorization library for Ruby and Ruby on Rails which restricts what resources a given user is allowed to access.
CanCanCan is an authorization library for Ruby and Ruby on Rails. It is installed by adding the gem to a Gemfile, and it is published on RubyGems under the name cancancan. The developer guide in the repository documents its use in detail.
The gem’s README describes two parts: the authorization library itself and helpers for Rails controllers.
Identity
- Status
- Active
- Maintainer
- Ryan Bates3
- Maintained by
- Individual
- First release
- 20144
Rendering and deploy
- Install with
- bundler2
Releases
Adoption
Sources
- 2026-11-04: links, Written in, License, GitHub stars
api.github.com/repos/coorasse/cancancan - 2026-11-04: links, Categories, Runtime, Install with
raw.githubusercontent.com/coorasse/cancancan/main/README.md - 2026-11-04: Maintainer
raw.githubusercontent.com/coorasse/cancancan/main/LICENSE - 2026-11-04: First release
rubygems.org/api/v1/versions/cancancan.json - 2026-11-04: Minimum runtime
raw.githubusercontent.com/coorasse/cancancan/3.7.0/cancancan.gemspec - 2026-11-04: Current major version, Last release
api.github.com/repos/coorasse/cancancan/releases/latest - 2026-11-04: Contributors
api.github.com/repos/coorasse/cancancan/contributors - 2026-11-04: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/cancancan