From ef1351b441ad0374f3d5929b86e671a449cf3adc Mon Sep 17 00:00:00 2001 From: 0mar Date: Tue, 20 Apr 2021 11:04:04 +0200 Subject: [PATCH] Added todo for future PR --- jupyterhub/apihandlers/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterhub/apihandlers/users.py b/jupyterhub/apihandlers/users.py index 23ac0027..b245fbc4 100644 --- a/jupyterhub/apihandlers/users.py +++ b/jupyterhub/apihandlers/users.py @@ -301,7 +301,7 @@ class UserTokenListAPIHandler(APIHandler): self.write(json.dumps({'api_tokens': api_tokens})) - @needs_scope('users:tokens') + # @needs_scope('users:tokens') #Todo: needs internal scope checking async def post(self, user_name): body = self.get_json_body() or {} if not isinstance(body, dict):