Skip to content

Commit 79d08a4

Browse files
Merge branch 'users' of https://github.com/bernt-matthias/galaxy into users
2 parents b71eaaf + 14ab0e2 commit 79d08a4

File tree

1 file changed

+1
-1
lines changed
  • lib/galaxy/webapps/galaxy/services

1 file changed

+1
-1
lines changed

lib/galaxy/webapps/galaxy/services/users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def get_index(
204204
) -> List[MaybeLimitedUserModel]:
205205
# never give any info to non-authenticated users
206206
if not trans.user:
207-
return []
207+
raise glx_exceptions.AuthenticationRequired("Only registered users can view the list of users")
208208

209209
# check for early return conditions
210210
if deleted:

0 commit comments

Comments
 (0)