Skip to content

Commit

Permalink
Call new method
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Oct 31, 2024
1 parent 4be1eaf commit 0761269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/model/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0761269

Please sign in to comment.