From 3a2bc2cf251e649703b1eda843b77aa99bd2bf5f Mon Sep 17 00:00:00 2001 From: John Davis Date: Tue, 6 Aug 2024 14:36:57 -0400 Subject: [PATCH] Strip whitespace when listifying admin users --- lib/galaxy/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/config/__init__.py b/lib/galaxy/config/__init__.py index ca78874969eb..9b2d435ae393 100644 --- a/lib/galaxy/config/__init__.py +++ b/lib/galaxy/config/__init__.py @@ -594,7 +594,7 @@ def admin_users(self): @admin_users.setter def admin_users(self, value): self._admin_users = value - self.admin_users_list = listify(value) + self.admin_users_list = listify(value, do_strip=True) def is_admin_user(self, user: Optional["User"]) -> bool: """Determine if the provided user is listed in `admin_users`."""