lib/ddr/auth.rb in ddr-models-2.4.15 vs lib/ddr/auth.rb in ddr-models-2.4.16
- old
+ new
@@ -30,10 +30,11 @@
autoload :SuperuserAbility
autoload :User
autoload :WebAuthContext
autoload_under 'ability_definitions' do
+ autoload :AdminSetAbilityDefinitions
autoload :AliasAbilityDefinitions
autoload :AttachmentAbilityDefinitions
autoload :CollectionAbilityDefinitions
autoload :ComponentAbilityDefinitions
autoload :DatastreamAbilityDefinitions
@@ -104,9 +105,13 @@
LdapGateway
end
mattr_accessor :default_ability do
"::Ability"
+ end
+
+ mattr_accessor :metadata_managers_group do
+ ENV["METADATA_MANAGERS_GROUP"]
end
def self.repository_group_filter
if filter = ENV["REPOSITORY_GROUP_FILTER"]
return filter