Sha256: 03dff561f137af9ad1f6b3d70bdd028769bdb3019b65dc20c66f3b36c7f9260f

Contents?: true

Size: 779 Bytes

Versions: 57

Compression:

Stored size: 779 Bytes

Contents

= Cmor::Rbac

This module implements role based access control on top of pundit.


= Why?

  * Flexible handling of roles, role permissions, permissions and user permissions in the database.
  * Automatic mapping of controllers and actions to permissions.


= Installation

Add it to your gemfile, bundle and run installer:

    echo "\ngem 'cmor_rbac'" >> Gemfile
    bundle
    rails g cmor:rbac:install

The installer will add an initializer with configuration options in initializers/cmor_rbac.rb

Add the database migrations and migrate:

    rake cmor_rbac:install:migrations
    rake db:migrate


= Configuration

Possible options in the initializer:

  * user_class_name: The class of the user model. Default is User.


= License

This project rocks and uses MIT-LICENSE.

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
cmor_rbac-0.0.17.pre README.rdoc
cmor_rbac-0.0.16.pre README.rdoc
cmor_rbac-0.0.15.pre README.rdoc
cmor_rbac-0.0.14.pre README.rdoc
cmor_rbac-0.0.13.pre README.rdoc
cmor_rbac-0.0.12.pre README.rdoc
cmor_rbac-0.0.11.pre README.rdoc
cmor_rbac-0.0.10.pre README.rdoc
cmor_rbac-0.0.9.pre README.rdoc
cmor_rbac-0.0.8.pre README.rdoc
cmor_rbac-0.0.7.pre README.rdoc
cmor_rbac-0.0.6.pre README.rdoc
cmor_rbac-0.0.5.pre README.rdoc
cmor_rbac-0.0.4.pre README.rdoc
cmor_rbac-0.0.3.pre README.rdoc
cmor_rbac-0.0.2.pre README.rdoc
cmor_rbac-0.0.1.pre README.rdoc