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.38.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.37.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.36.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.35.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.34.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.33.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.32.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.31.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.30.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.29.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.28.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.27.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.26.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.25.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.24.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.22.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.21.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.20.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.19.pre lib/generators/cmor/rbac/install/templates/initializer.rb
cmor_rbac-0.0.18.pre lib/generators/cmor/rbac/install/templates/initializer.rb