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.60.pre README.rdoc
cmor_rbac-0.0.59.pre README.rdoc
cmor_rbac-0.0.58.pre README.rdoc
cmor_rbac-0.0.57.pre README.rdoc
cmor_rbac-0.0.56.pre README.rdoc
cmor_rbac-0.0.55.pre README.rdoc
cmor_rbac-0.0.54.pre README.rdoc
cmor_rbac-0.0.53.pre README.rdoc
cmor_rbac-0.0.52.pre README.rdoc
cmor_rbac-0.0.51.pre README.rdoc
cmor_rbac-0.0.50.pre README.rdoc
cmor_rbac-0.0.49.pre README.rdoc
cmor_rbac-0.0.48.pre README.rdoc
cmor_rbac-0.0.45.pre README.rdoc
cmor_rbac-0.0.44.pre README.rdoc
cmor_rbac-0.0.43.pre README.rdoc
cmor_rbac-0.0.42.pre README.rdoc
cmor_rbac-0.0.41.pre README.rdoc
cmor_rbac-0.0.40.pre README.rdoc
cmor_rbac-0.0.39.pre README.rdoc