Sha256: a9133c80b17124dd27b42c9896082531f1f2fa8e245d1a5db205453d33909368
Contents?: true
Size: 648 Bytes
Versions: 49
Compression:
Stored size: 648 Bytes
Contents
module Hydra::AccessControls class AccessControlList < ActiveFedora::Base belongs_to :access_to, predicate: ::ACL.accessTo, class_name: 'ActiveFedora::Base' property :mode, predicate: ::ACL.mode, class_name: 'Hydra::AccessControls::Mode' property :agent, predicate: ::ACL.agent, class_name: 'Hydra::AccessControls::Agent' # property :agentClass, predicate: ACL.agentClass # [acl:accessTo <card>; acl:mode acl:Read; acl:agentClass foaf:Agent]. # [acl:accessTo <card>; acl:mode acl:Read, acl:Write; acl:agent <card#i>]. end class Mode < ActiveTriples::Resource end class Agent < ActiveTriples::Resource end end
Version data entries
49 entries across 49 versions & 1 rubygems