Sha256: f55c9e01e504b264f6fa7fa5dfb31f03e613acb19be36082ab01c27b64f22a57

Contents?: true

Size: 530 Bytes

Versions: 4

Compression:

Stored size: 530 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecm_rbac-1.2.1 lib/generators/ecm/rbac/install/templates/initializer.rb
ecm_rbac-1.2.0 lib/generators/ecm/rbac/install/templates/initializer.rb
ecm_rbac-1.0.1 lib/generators/ecm/rbac/install/templates/initializer.rb
ecm_rbac-1.0.0 lib/generators/ecm/rbac/install/templates/initializer.rb