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