ruby-cancancan

Authorization Gem for Ruby on Rails

Description

CanCanCan is an authorization library for Ruby >= 2.2.0 and Ruby on Rails >= 4.2 which restricts what resources a given user is allowed to access.

All permissions can be defined in one or multiple ability files and not duplicated across controllers, views, and database queries, keeping your permissions logic in one place for easy maintenance and testing.

It consists of two main parts:
 1. Authorizations library that allows you to define the rules to access
different objects, and provides helpers to check for those permissions.
 2. Rails helpers to simplify the code in Rails Controllers by performing the
loading and checking of permissions of models automatically and reduce duplicated code.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/CanCanCommunity/cancancan


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-cancancan