Sha256: dc0851487ab6e4d1f8ea3dcc93f21b92660a7742c16cd4cce7b68afc96c8dda8

Contents?: true

Size: 372 Bytes

Versions: 25

Compression:

Stored size: 372 Bytes

Contents

class ModsAsset < ActiveFedora::Base
  include Hydra::AccessControls::Embargoable

  # This is how we're associating admin policies with assets.
  # You can associate them however you want, just use the :is_governed_by relationship
  belongs_to :admin_policy, class_name: "Hydra::AdminPolicy", predicate: ActiveFedora::Predicates.find_graph_predicate(:is_governed_by)
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
hydra-access-controls-9.8.1 spec/support/mods_asset.rb
hydra-access-controls-9.8.0 spec/support/mods_asset.rb
hydra-access-controls-9.7.1 spec/support/mods_asset.rb
hydra-access-controls-9.7.0 spec/support/mods_asset.rb
hydra-access-controls-9.6.0 spec/support/mods_asset.rb
hydra-access-controls-9.5.0 spec/support/mods_asset.rb
hydra-access-controls-9.4.1 spec/support/mods_asset.rb
hydra-access-controls-9.4.0 spec/support/mods_asset.rb
hydra-access-controls-9.3.0 spec/support/mods_asset.rb
hydra-access-controls-9.2.2 spec/support/mods_asset.rb
hydra-access-controls-9.2.1 spec/support/mods_asset.rb
hydra-access-controls-9.2.0 spec/support/mods_asset.rb
hydra-access-controls-9.2.0.rc1 spec/support/mods_asset.rb
hydra-access-controls-9.1.4 spec/support/mods_asset.rb
hydra-access-controls-9.1.3 spec/support/mods_asset.rb
hydra-access-controls-9.1.2 spec/support/mods_asset.rb
hydra-access-controls-9.1.1 spec/support/mods_asset.rb
hydra-access-controls-9.1.0 spec/support/mods_asset.rb
hydra-access-controls-9.0.1 spec/support/mods_asset.rb
hydra-access-controls-9.0.0 spec/support/mods_asset.rb