Skip to content

Commit

Permalink
fix group mounting paths
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusdc committed Sep 24, 2024
1 parent b2afe1a commit e4606e5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -561,13 +561,13 @@ def render_profiles(spawner):
# e.g. /projects/myproj -> myproj
# and /developers -> developers
groups = [Path(group).name for group in auth_state["oauth_user"]["groups"]]
groups_with_permission_to_mount = [
Path(group).name
for group in auth_state.get("groups_with_permission_to_mount", [])
]

keycloak_profilenames = auth_state["oauth_user"].get("jupyterlab_profiles", [])

groups_with_permission_to_mount = auth_state.get(
"groups_with_permission_to_mount", []
)

# fetch available profiles and render additional attributes
profile_list = z2jh.get_config("custom.profiles")
return list(
Expand Down

0 comments on commit e4606e5

Please sign in to comment.