Skip to content

Commit

Permalink
Merge pull request #1087 from projecthydra/feature/UserNotAgent
Browse files Browse the repository at this point in the history
Change subject.agent to subject.user
  • Loading branch information
jcoyne authored Nov 9, 2016
2 parents cc2696c + 8bbbaa8 commit 6a97fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/forms/curation_concerns/forms/workflow_action_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def save

def authorized_for_processing
return true if CurationConcerns::Workflow::PermissionQuery.authorized_for_processing?(
user: subject.agent,
user: subject.user,
entity: subject.entity,
action: sipity_workflow_action
)
Expand Down

0 comments on commit 6a97fb6

Please sign in to comment.