Skip to content

Commit

Permalink
Fix tag ownership check
Browse files Browse the repository at this point in the history
I think that in the tool evaluation context we don't actually need the
cached_id performance tweak: we batch flushes now on map over creation
... which in fact breaks the assumption that we're setting the user id
here.
  • Loading branch information
mvdbeek committed Oct 18, 2023
1 parent 53f372a commit cd9d132
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/galaxy/tools/actions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,7 @@ def _new_job_for_session(self, trans, tool, history):
job.session_id = model.cached_id(galaxy_session)
if trans.user is not None:
job.user_id = model.cached_id(trans.user)
job.user = trans.user
if history:
job.history_id = model.cached_id(history)
job.tool_id = tool.id
Expand Down

0 comments on commit cd9d132

Please sign in to comment.