Skip to content

Commit

Permalink
fix group mounting paths (#2738)
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusdc authored Sep 27, 2024
1 parent c0f5961 commit 97c6c47
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 97c6c47

Please sign in to comment.