module Ddr::Auth::Groups
Constants
- DUKE_ALL
- PUBLIC
- REGISTERED
Public Class Methods
all()
click to toggle source
Return the list of all groups available for use in the repository,
i.e., that can be used to assert access controls.
@return [Array<Group>] the groups
# File lib/ddr/auth/groups.rb, line 20 def self.all DynamicGroups::ALL + Ddr::Auth.grouper_gateway.repository_groups end
call(auth_context)
click to toggle source
@param auth_context [AuthContext] @return [Array<Group>]
# File lib/ddr/auth/groups.rb, line 26 def self.call(auth_context) DynamicGroups.call(auth_context) + RemoteGroups.call(auth_context) end