From 6aeaf41a064312c27fb263f7c03fe153f778aa4b Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Thu, 11 Jul 2024 14:35:18 +0100 Subject: [PATCH] remove unrequired role --- .../kubernetes/services/jupyterhub/files/jupyterhub/04-auth.py | 2 +- tests/tests_deployment/test_jupyterhub_api.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/files/jupyterhub/04-auth.py b/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/files/jupyterhub/04-auth.py index 1b80efdeef..dc54f61454 100644 --- a/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/files/jupyterhub/04-auth.py +++ b/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/files/jupyterhub/04-auth.py @@ -247,7 +247,7 @@ async def _create_default_keycloak_client_roles( "description": role.get("description"), "attributes": { "scopes": role.get("scopes"), - "component": ["jupyterhub"] + "component": ["jupyterhub"], }, } ) diff --git a/tests/tests_deployment/test_jupyterhub_api.py b/tests/tests_deployment/test_jupyterhub_api.py index f0cede90c8..fef6fe28a5 100644 --- a/tests/tests_deployment/test_jupyterhub_api.py +++ b/tests/tests_deployment/test_jupyterhub_api.py @@ -31,7 +31,6 @@ def test_jupyterhub_loads_roles_from_keycloak(): "manage-account-links", "view-profile", # default roles - "allow-app-sharing-role", "allow-read-access-to-services-role", }