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