Class: Hyrax::Actors::ApplyPermissionTemplateActor

Inherits:
AbstractActor
  • Object
show all
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

#next_actor

Instance Method Summary collapse

Methods inherited from AbstractActor

#initialize

Constructor Details

This class inherits a constructor from Hyrax::Actors::AbstractActor

Instance Method Details

#create(env) ⇒ Boolean

Returns true if create was successful.

Parameters:

Returns:

  • (Boolean)

    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