Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Nov 1, 2024
1 parent 0761269 commit ff20d0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/galaxy/model/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ 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_exposed(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 ff20d0d

Please sign in to comment.