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

Version Path
hydra-access-controls-10.3.4 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.3.3 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.3.2 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.3.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.2.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.1.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.0.2 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.0.1 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.0.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.0.0.beta4 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.0.0.beta3 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.0.0.beta2 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.0.0.beta1 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-9.10.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-9.9.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-9.8.1 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-9.8.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-9.7.1 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-9.7.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-9.6.0 app/models/hydra/access_controls/access_control_list.rb