Skip to content

Commit

Permalink
Merge pull request #18945 from bernt-matthias/topic/per-dest-username
Browse files Browse the repository at this point in the history
Allow to overwrite `real_system_username` per destination
  • Loading branch information
mvdbeek authored Nov 12, 2024
2 parents b227de3 + e4e451d commit d11eb06
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 d11eb06

Please sign in to comment.