Class: InheritPermissionsJob
- Inherits:
-
Hyrax::ApplicationJob
- Object
- ApplicationJob
- Hyrax::ApplicationJob
- InheritPermissionsJob
- Defined in:
- app/jobs/inherit_permissions_job.rb
Overview
A job to apply work permissions to all contained files set
Instance Method Summary collapse
-
#perform(work, use_valkyrie: Hyrax.config.use_valkyrie?) ⇒ Object
Perform the copy from the work to the contained filesets.
Instance Method Details
#perform(work, use_valkyrie: Hyrax.config.use_valkyrie?) ⇒ Object
Perform the copy from the work to the contained filesets
9 10 11 12 13 14 15 |
# File 'app/jobs/inherit_permissions_job.rb', line 9 def perform(work, use_valkyrie: Hyrax.config.use_valkyrie?) if use_valkyrie valkyrie_perform(work) else af_perform(work) end end |