Fork me on GitHub

Cancannible Demo for Rails 4

A Rails 4.2.x application to demonstrate the use of the cancannible gem.

Cancannible is a gem that extends CanCan with a range of capabilities:

  • automatic permissions storage in a database
  • export CanCan methods to the model layer (so that permissions can be applied in model methods, and easily set in a test case)
  • permissions inheritance (so that, for example, a User can inherit permissions from Roles and/or Groups)
  • caching of abilities (so that they don't need to be recalculated on each web request)
  • general-purpose access refinements (so that, for example, CanCan will automatically enforce multi-tenant or other security restrictions)

Sign in using a demo account

Like this? You can support it by checking out some ads or posting on your favourite social network..