lib/blacklight/access_controls/ability.rb
# download access implies read access, so read_groups is the union of download and read groups.
download access implies read access, so read_groups is the union of download and read groups.
download access implies read access so read_groups is the union of download and read groups .
def read_groups(id)
        doc = permissions_doc(id)
        return [] if doc.nil?
        rg = download_groups(id) | Array(doc[self.class.read_group_field])
        Rails.logger.debug("[CANCAN] read_groups: #{rg.inspect}")
        rg
      end
def read_groups ( id ) doc = permissions_doc ( id ) return [ ] if doc . nil? rg = download_groups ( id ) | Array ( doc [ self . class . read_group_field ] ) Rails . logger . debug ( "[CANCAN] read_groups: #{rg.inspect}" ) rg end
download access implies read access, so read_groups is the union of download and read groups.
download access implies read access so read_groups is the union of download and read groups .
id
<not_specific>