Sha256: 8f2f0e2c7c1e8c47b8fe460a8c576cd37111073d8c3970fba849ee6588c1cfe3

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

Alberich.user_class = "User"
Alberich.groups_for_user_method = "all_groups"
Alberich.user_group_class = "UserGroup"
Alberich.permissioned_object_classes = ["StandaloneResource",
                                        "ParentResource",
                                        "ChildResource"]
Alberich.additional_privilege_scopes = ["User", "GlobalResource"]

Alberich.require_user_method = "require_user"

ActiveSupport.on_load(:action_controller) do
  ActionController::Base.send(:include, Alberich::ApplicationControllerHelper)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 test/dummy/config/initializers/alberich.rb