Sha256: 7873b3a3e00feb70f2210935006bb920e484a5b18b900c90f7ceda8e88deecdf

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

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

  # 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

1 entries across 1 versions & 1 rubygems

Version Path
ecm_rbac-0.0.10 lib/generators/ecm/rbac/install/templates/initializer.rb