From 538570b3e23401206d21535363ece619357b08fd Mon Sep 17 00:00:00 2001 From: Ahmed Hamid Awan Date: Thu, 23 May 2024 11:05:41 -0500 Subject: [PATCH] Update lib/galaxy/webapps/galaxy/services/workflows.py Co-authored-by: Nicola Soranzo --- lib/galaxy/webapps/galaxy/services/workflows.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/galaxy/webapps/galaxy/services/workflows.py b/lib/galaxy/webapps/galaxy/services/workflows.py index 3cce4e906c6e..15f99996fb49 100644 --- a/lib/galaxy/webapps/galaxy/services/workflows.py +++ b/lib/galaxy/webapps/galaxy/services/workflows.py @@ -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)