Sha256: d3f8d02d1b7f83da21c29d8bc3be8d320c1dadee06d52318a36242e1546aec67
Contents?: true
Size: 713 Bytes
Versions: 11
Compression:
Stored size: 713 Bytes
Contents
module Hydra::AccessControls class AccessControlList < ActiveFedora::Base belongs_to :access_to, predicate: ::ACL.accessTo, class_name: 'ActiveFedora::Base' # has_many :admin_policies, class_name: 'Hydra::AdminPolicy' 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
11 entries across 11 versions & 1 rubygems