Unverified Commit 52afa611 authored by Marius van den Beek's avatar Marius van den Beek Committed by GitHub
Browse files

Merge pull request #20575 from mvdbeek/fix_planemo_serve

[24.2] Fix planemo serve, need user list
parents 62f6ab33 d29a7f0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ class UsersService(ServiceBase):
        f_any: Optional[str],
    ) -> List[MaybeLimitedUserModel]:
        # never give any info to non-authenticated users
        if not trans.user:
        if not trans.user and not trans.user_is_bootstrap_admin:
            raise glx_exceptions.AuthenticationRequired("Only registered users can view the list of users")

        # check for early return conditions