From 076126980dc3b000993219a380d8ad6f297314fc Mon Sep 17 00:00:00 2001 From: John Davis Date: Thu, 31 Oct 2024 17:00:06 -0400 Subject: [PATCH] Call new method --- lib/galaxy/model/security.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/model/security.py b/lib/galaxy/model/security.py index 58efc025350e..188cd926e97b 100644 --- a/lib/galaxy/model/security.py +++ b/lib/galaxy/model/security.py @@ -159,7 +159,7 @@ def get_valid_roles(self, trans, item, query=None, page=None, page_limit=None, i is_public_item = False # Admins can always choose from all non-deleted roles if trans.user_is_admin or trans.app.config.expose_user_email: - roles = _get_valid_roles_case1(trans.sa_session, search_query, trans.user_is_admin, limit, page, page_limit) + roles = _get_valid_roles_exposed(trans.sa_session, search_query, trans.user_is_admin, limit, page, page_limit) # Non-admin and public item elif is_public_item: # Add the current user's private role