lib/ddr/auth.rb in ddr-models-1.2.1 vs lib/ddr/auth.rb in ddr-models-1.3.0
- old
+ new
@@ -7,13 +7,16 @@
autoload :Ability
autoload :GroupService
autoload :GrouperService
autoload :RemoteGroupService
- # Superuser group
+ # Group authorized to act as superuser
mattr_accessor :superuser_group
+ # Group authorized to create Collections
+ mattr_accessor :collection_creators_group
+
## Remote groups (i.e., Grouper) config settings
# request.env key for group memberships
mattr_accessor :remote_groups_env_key do
"ismemberof"
end
@@ -31,13 +34,15 @@
# Filter for getting list of remote groups for the repository - String, not Regexp
mattr_accessor :remote_groups_name_filter do
"duke:library:repository:ddr:"
end
+ # Name of group of which everyone (including anonymous users) is a member
mattr_accessor :everyone_group do
"public"
end
+ # Group of authenticated users
mattr_accessor :authenticated_users_group do
"registered"
end
end