From 17b64280e8648c3351beb178e96acfcbf46d4efc Mon Sep 17 00:00:00 2001 From: Min RK Date: Mon, 24 Jan 2022 15:35:57 +0100 Subject: [PATCH] add missing metrics scope to admin role new scope defined, but not added to admin In the future, the admin list should probably be derived automatically --- jupyterhub/roles.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jupyterhub/roles.py b/jupyterhub/roles.py index defa187d..75545a9a 100644 --- a/jupyterhub/roles.py +++ b/jupyterhub/roles.py @@ -45,6 +45,7 @@ def get_default_roles(): 'access:services', 'access:servers', 'read:roles', + 'read:metrics', ], }, {