mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
Update docs/source/tutorial/collaboration-users.md
Co-authored-by: Simon Li <orpheus+devel@gmail.com>
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user