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-13.0.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-12.1.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-12.0.2 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-11.0.7 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-12.0.1 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-11.0.6 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-12.0.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-11.0.1 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-11.0.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-11.0.0.rc2 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.7.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.6.2 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.6.1 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.6.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.5.1 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-11.0.0.rc1 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.5.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.4.0 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.4.0.rc2 app/models/hydra/access_controls/access_control_list.rb
hydra-access-controls-10.4.0.rc1 app/models/hydra/access_controls/access_control_list.rb