Sha256: bd976a226c0826b3e7f238adcf485f71e85b4c9192d014f7f178d430a0fe787a
Contents?: true
Size: 321 Bytes
Versions: 154
Compression:
Stored size: 321 Bytes
Contents
module Ddr::Auth class DynamicGroups ALL = ([Groups::PUBLIC, Groups::REGISTERED, Groups::DUKE_ALL] + AffiliationGroups::ALL).freeze # @param auth_context [AuthContext] # @return [Array<Group>] def self.call(auth_context) ALL.select { |group| group.has_member?(auth_context) } end end end
Version data entries
154 entries across 154 versions & 2 rubygems