mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-08 02:24:08 +00:00
Keep admin-enabled services in the list
This commit is contained in:
@@ -1120,8 +1120,6 @@ class BaseHandler(RequestHandler):
|
||||
for service in self.services.values():
|
||||
if not service.url:
|
||||
continue
|
||||
if service.admin and not user.admin:
|
||||
continue
|
||||
accessible_services.append(service)
|
||||
return accessible_services
|
||||
|
||||
|
Reference in New Issue
Block a user