Class: CurationConcerns::Workflow::GrantEditToDepositor
- Inherits:
-
Object
- Object
- CurationConcerns::Workflow::GrantEditToDepositor
- Defined in:
- app/services/curation_concerns/workflow/grant_edit_to_depositor.rb
Overview
This is a built in function for workflow, so that a workflow action can be created that grants the creator the ability to alter it.
Class Method Summary collapse
Class Method Details
.call(target:) ⇒ Object
6 7 8 |
# File 'app/services/curation_concerns/workflow/grant_edit_to_depositor.rb', line 6 def self.call(target:, **) target.edit_users += [target.depositor] end |