Class: Hyrax::Actors::ApplyPermissionTemplateActor
- Inherits:
-
AbstractActor
- Object
- AbstractActor
- Hyrax::Actors::ApplyPermissionTemplateActor
- Defined in:
- app/actors/hyrax/actors/apply_permission_template_actor.rb
Overview
Responsible for “applying” the various edit and read attributes to the given curation concern.
Instance Attribute Summary
Attributes inherited from AbstractActor
Instance Method Summary collapse
-
#create(env) ⇒ Boolean
True if create was successful.
Methods inherited from AbstractActor
Constructor Details
This class inherits a constructor from Hyrax::Actors::AbstractActor
Instance Method Details
#create(env) ⇒ Boolean
Returns true if create was successful.
9 10 11 12 |
# File 'app/actors/hyrax/actors/apply_permission_template_actor.rb', line 9 def create(env) add_edit_users(env) next_actor.create(env) end |