Skip to content

Commit

Permalink
Merge pull request galaxyproject#18656 from jdavcs/23.2_admin_users_l…
Browse files Browse the repository at this point in the history
…istify

[23.2] Strip whitespace when listifying admin users
  • Loading branch information
bgruening authored Aug 7, 2024
2 parents 26d93d3 + 3a2bc2c commit ef4e32f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`."""
Expand Down

0 comments on commit ef4e32f

Please sign in to comment.