Sha256: 549a1ba297be6c28ce35b86515928fbe035aabc5728bb12d70ac0defda505157

Contents?: true

Size: 664 Bytes

Versions: 57

Compression:

Stored size: 664 Bytes

Contents

Cmor::Rbac.configure do |config|
  # Set the User class.
  #
  # Default: config.user_class_name = '<%= user_class_name %>'
  # 
  config.user_class_name = '<%= user_class_name %>'

  # Factory name to use for users.
  #
  # default: config.user_factory_name = '<%= user_factory_name %>' 
  #
  config.user_factory_name = '<%= user_factory_name %>'

  # Set the path of your default permissions file that will be used by
  # Cmor::Rbac::ImportDefaultPermissionsService
  # 
  # default: config.default_permissions_filename = -> { Rails.root.join('config', 'rbac.yml') }
  # 
  config.default_permissions_filename = -> { Rails.root.join('config', 'rbac.yml') }
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
cmor_rbac-0.0.17.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.16.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.15.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.14.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.13.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.12.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.11.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.10.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.9.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.8.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.7.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.6.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.5.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.4.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.3.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.2.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.1.pre lib/generators/cmor/rbac/install/templates/initializer.rb