Update docs/source/tutorial/collaboration-users.md

Co-authored-by: Simon Li <orpheus+devel@gmail.com>
This commit is contained in:
Jordan Bradford
2024-12-21 21:32:00 -05:00
committed by GitHub
parent df6d2cb045
commit 5acb25d024

View File

@@ -102,7 +102,7 @@ for project_name, project in project_config["projects"].items():
members = project.get("members", []) members = project.get("members", [])
print(f"Adding project {project_name} with members {members}") print(f"Adding project {project_name} with members {members}")
# add them to a group for the project # add them to a group for the project
c.JupyterHub.load_groups[project_name]["users"] = members c.JupyterHub.load_groups[project_name] = {"users": members}
# define a new user for the collaboration # define a new user for the collaboration
collab_user = f"{project_name}-collab" collab_user = f"{project_name}-collab"
# add the collab user to the 'collaborative' group # add the collab user to the 'collaborative' group