Skip to content

Commit

Permalink
Update lib/galaxy/webapps/galaxy/services/workflows.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Soranzo <[email protected]>
  • Loading branch information
ahmedhamidawan and nsoranzo authored May 23, 2024
1 parent f516679 commit 538570b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/galaxy/webapps/galaxy/services/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def invoke_workflow(
) -> Union[WorkflowInvocationResponse, List[WorkflowInvocationResponse]]:
if trans.anonymous:
raise exceptions.AuthenticationRequired("You need to be logged in to run workflows.")
trans.check_user_activation()
# Get workflow + accessibility check.
by_stored_id = not payload.instance
stored_workflow = self._workflows_manager.get_stored_accessible_workflow(trans, workflow_id, by_stored_id)
Expand Down

0 comments on commit 538570b

Please sign in to comment.