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 5, 2024
1 parent c1bf181 commit 82d9de9
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 @@ -2517,7 +2517,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 82d9de9

Please sign in to comment.