Keep admin-enabled services in the list

This commit is contained in:
R. C. Thomas
2019-10-17 18:27:47 -07:00
committed by GitHub
parent e0c4f9fc23
commit bc425a78bb

View File

@@ -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