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.60.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.59.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.58.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.57.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.56.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.55.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.54.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.53.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.52.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.51.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.50.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.49.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.48.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.45.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.44.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.43.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.42.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.41.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.40.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.39.pre lib/generators/cmor/rbac/install/templates/initializer.rb