Sha256: 0cb03c0933690f1665c652b64f0314e023d659bcf74992c78fe1feb99f094f5c

Contents?: true

Size: 563 Bytes

Versions: 15

Compression:

Stored size: 563 Bytes

Contents

Wobauth.setup do |config|
  #
  # Configuration for Authorization
  # 1. Subject: Authorizable
  # do not change it unless you know exactly what you are doing
  #
  # config.authorizable_types = [ "Wobauth::User", "Wobauth::Group" ]
  # config.authorizable_group_method = :all
  #
  # 2. Object: Authorized_for
  # depends on your application ...
  # default: []
  #
  # config.authorized_for_types = [ "MyClass", ...]
  # config.authorized_for_group_method = :all
  #
  # or for ancestry trees:
  # config.authorized_for_group_method = :arrange_as_array
  #
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wobauth-6.0.1 lib/generators/templates/initializers/wobauth.rb
wobauth-6.0.0 lib/generators/templates/initializers/wobauth.rb
wobauth-5.1.3 lib/generators/templates/initializers/wobauth.rb
wobauth-5.1.2 lib/generators/templates/initializers/wobauth.rb
wobauth-5.1.1 lib/generators/templates/initializers/wobauth.rb
wobauth-5.1.0 lib/generators/templates/initializers/wobauth.rb
wobauth-5.0.2 lib/generators/templates/initializers/wobauth.rb
wobauth-5.0.1 lib/generators/templates/initializers/wobauth.rb
wobauth-5.0.0 lib/generators/templates/initializers/wobauth.rb
wobauth-4.0.0 lib/generators/templates/initializers/wobauth.rb
wobauth-3.4.8 lib/generators/templates/initializers/wobauth.rb
wobauth-3.4.7 lib/generators/templates/initializers/wobauth.rb
wobauth-3.4.6 lib/generators/templates/initializers/wobauth.rb
wobauth-3.4.5 lib/generators/templates/initializers/wobauth.rb
wobauth-3.4.4 lib/generators/templates/initializers/wobauth.rb