Sha256: 8bd11069cc4ce45aee49ee64e3848521cfa1f25755659b5b83d7a71931202546

Contents?: true

Size: 461 Bytes

Versions: 26

Compression:

Stored size: 461 Bytes

Contents

module Hydra
  class AdminPolicy < ActiveFedora::Base

    include Hydra::AdminPolicyBehavior
    include Hydra::AccessControls::Permissions

    property :title, predicate: ::RDF::Vocab::DC.title do |index|
      index.as :stored_searchable
    end
    property :description, predicate: ::RDF::Vocab::DC.description do |index|
      index.as :searchable
    end

    def description
      super.first
    end

    def title
      super.first
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
hydra-access-controls-13.0.0 lib/hydra/admin_policy.rb
hydra-access-controls-12.1.0 lib/hydra/admin_policy.rb
hydra-access-controls-12.0.2 lib/hydra/admin_policy.rb
hydra-access-controls-11.0.7 lib/hydra/admin_policy.rb
hydra-access-controls-12.0.1 lib/hydra/admin_policy.rb
hydra-access-controls-11.0.6 lib/hydra/admin_policy.rb
hydra-access-controls-12.0.0 lib/hydra/admin_policy.rb
hydra-access-controls-11.0.1 lib/hydra/admin_policy.rb
hydra-access-controls-11.0.0 lib/hydra/admin_policy.rb
hydra-access-controls-11.0.0.rc2 lib/hydra/admin_policy.rb
hydra-access-controls-10.7.0 lib/hydra/admin_policy.rb
hydra-access-controls-10.6.2 lib/hydra/admin_policy.rb
hydra-access-controls-10.6.1 lib/hydra/admin_policy.rb
hydra-access-controls-10.6.0 lib/hydra/admin_policy.rb
hydra-access-controls-10.5.1 lib/hydra/admin_policy.rb
hydra-access-controls-11.0.0.rc1 lib/hydra/admin_policy.rb
hydra-access-controls-10.5.0 lib/hydra/admin_policy.rb
hydra-access-controls-10.4.0 lib/hydra/admin_policy.rb
hydra-access-controls-10.4.0.rc2 lib/hydra/admin_policy.rb
hydra-access-controls-10.4.0.rc1 lib/hydra/admin_policy.rb