Skip to content

Commit

Permalink
allow to overwrite real_system_username per destination
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Oct 21, 2024
1 parent c5d89e5 commit 79a299b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/galaxy/jobs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2519,7 +2519,9 @@ def reclaim_ownership(self):
def user_system_pwent(self):
if self.__user_system_pwent is None:
job = self.get_job()
self.__user_system_pwent = job.user.system_user_pwent(self.app.config.real_system_username)
self.__user_system_pwent = job.user.system_user_pwent(
self.get_destination_configuration("real_system_username", None)
)
return self.__user_system_pwent

@property
Expand Down

0 comments on commit 79a299b

Please sign in to comment.