Sha256: c96a758864ad6401a8c254d52f70abab18caaca8d3aedff940e1d46be85f140e

Contents?: true

Size: 846 Bytes

Versions: 57

Compression:

Stored size: 846 Bytes

Contents

Cmor::Rbac::Backend.configure do |config|
  # Set the resources, that will be shown in the backend menu.
  #
  # Default: config.registered_controllers = lambda {
  #            [
  #              Cmor::Rbac::Backend::RolesController
  #            ]
  #          }
  #
  config.registered_controllers = lambda {
    [
      Cmor::Rbac::Backend::UsersController,
      Cmor::Rbac::Backend::RolesController,
      Cmor::Rbac::Backend::PermissionsController
    ]
  }

  # Set the services, that will be shown in the backend menu.
  #
  # Default: config.registered_services = lambda {
  #            [
  #              Cmor::Rbac::Backend::ImportDefaultPermissionsServiceController
  #            ]
  #          }
  #
  config.registered_services = lambda {
    [
      Cmor::Rbac::Backend::ImportDefaultPermissionsServiceController
    ]
  }
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
cmor_rbac_backend-0.0.60.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.59.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.58.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.57.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.56.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.55.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.54.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.53.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.52.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.51.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.50.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.49.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.48.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.45.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.44.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.43.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.42.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.41.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.40.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb
cmor_rbac_backend-0.0.39.pre lib/generators/cmor/rbac/backend/install/templates/initializer.rb