Roles, Groups & Collaboration
UZH JupyterHub deployments use OLAT for authentication. Your OLAT course role determines what you can do in JupyterHub. Collaboration group membership is handled separately from OLAT: teachers assign students in the JupyterHub Groups UI, and — if the course switches self-service on — students choose their own group.
How OLAT roles map to JupyterHub roles
When you log in via OLAT (LTI), your role in the OLAT course is passed to JupyterHub and translated as follows (the OLAT course’s LTI page must pass the roles on as described in OLAT Integration):
| OLAT role | JupyterHub role | What you can do |
|---|---|---|
| Participant | User | Start your own server, open notebooks |
| Coach | Instructor | View user list, manage servers, access Groups UI and Quota Admin |
| Owner | Admin | Full admin access: manage all users, servers, and groups |
Internally these correspond to the JupyterHub managed roles lti-students (User), lti-instructors (Instructor) and lti-admins (Admin). When you work on a collaboration group server (see below), your usage there is attributed to a separate collab user rather than your personal quota — this is why the CPU & GPU Quota page lists user, admin and collab budgets.
👩🏫 Coaches / Course owners: Admin and instructor rights are granted automatically based on your OLAT course role. You can access the JupyterHub admin panel at
<your-hub-url>/hub/adminto see all running servers, stop idle servers, and add users manually if needed.
👩🎓 Students: You log in with your UZH credentials via OLAT. If you cannot log in, confirm with your teacher that your OLAT course membership is active.
Collaboration groups and group servers
UZH JupyterHub has 50 pre-created collaboration groups, each named after a Star Trek alien race (Andorian, Bajoran, Benzite, …). Each group has a dedicated shared server that all group members can access.
Collaboration group membership is managed inside JupyterHub — it is independent of OLAT groups. Teachers assign students themselves, and can additionally open self-service so that students place themselves (see below).
How to access a collaboration server
👩🎓 Participants:
When you log in and are shown the “Start My Server” page, a blue info box lists any Collaboration Servers you can access. Click on the server name (e.g. “Andorian Collaboration Server”) to launch it.
If no collaboration servers appear, either your course doesn’t use group servers, or your teacher has not yet assigned you to a group — or the course expects you to choose your own group first.
Real-time collaboration (RTC)
Every server, personal or collaboration server, has JupyterLab real-time collaboration: multiple users can open the same notebook simultaneously and see each other’s edits live, similar to Google Docs. A cursor with each user’s name appears in the file.
Who can open a server is a matter of permissions, not of the collaboration plugin. Your personal server is yours: other students cannot open it, and you cannot share it with them; use a collaboration server for team work. Your teachers and teaching assistants can open your personal server, for example to help you, and then edit alongside you live.
Best practices for collaboration
- Agree on which sections of a notebook each person edits at a given time to avoid conflicts.
- Use Git for version control — commit your changes before handing off to a teammate.
- Do not store large binary files in Git — use the persistent volume to keep datasets persistent.
Choosing your own group — self-service
👩🎓 Participants
If your course has self-service switched on, you pick your own collaboration group instead of waiting to be assigned.
Open My Group from the JupyterHub navigation bar (<your-hub-url>/hub/my-group). While self-service is open, the home page also shows a notice — “You have not chosen a collaboration group yet. Choose your group.” — linking to the same page.
Picking a group
The page lists every collaboration group as a card showing:
- the group name;
- how many members it has —
3/5if your course capped the group size, or just the count if it did not; - the usernames of the current members, so you can see who is already there.
Press the button on a card to act on that group:
| Button | What it means |
|---|---|
| Join | The group has room — press to become a member |
| Switch here | You are already in another group and are still inside your undo window; pressing moves you here |
| Join (greyed out) | You are already in a group and your undo window has passed — hovering says “Ask your instructor to move you.” |
| Full | The group has reached its capacity — pick a different one |
| Your group | This is the group you are in — its card is highlighted |
| Closed | Self-service is closed; your instructor assigns the groups |
Greyed-out buttons cannot be pressed; only Join and Switch here are active.
The Filter groups box narrows the list by group name or member name — type a classmate’s username to find which group they joined; matching members are highlighted. Clear the box to see all groups again.
The page refreshes its numbers every 15 seconds, so a group that fills up while you are reading stops being offered before you click it. If two people press Join on the last free slot at the same moment, one of them is told the group is full — nothing is silently overbooked.
Once you are a member, the group’s shared server appears on the “Start My Server” page as described under How to access a collaboration server.
Changing your mind — the undo window
You can leave or switch groups only for a short while after your own join — 15 minutes by default. The page names your exact deadline:
You are in klingon. Chose the wrong one? You can still change it until 14:35.
[ Leave group ]
Within that window, press Leave group to become unassigned again, or press Switch here on another card to move directly.
After the deadline the page reads “Ask your instructor if you need to be moved” — from then on only an instructor can move you.
Two details that surprise people:
- Switching counts as leaving, so it obeys the same window. Once the window has closed you can neither leave nor switch.
- If an instructor placed you in a group, no window is opened at all — ask them if you need to be moved.
Why the limit? Group members share one home directory. Without a bound on leaving, a single account could join, read and leave every group in turn — the window is long enough to correct a mis-click, and short enough to prevent that.
While self-service is closed
The My Group link stays in the navigation bar. The page then simply reports which group you are in — “Group self-service is closed. You are in ‘klingon’.” — and offers no join buttons. The home-page notice disappears.
That is also how you look up your group when the course does the assigning.
Groups UI — assigning students to groups
👩🏫 Course owners / Coaches
The Groups UI at <your-hub-url>/hub/groups-ui lets you assign students to collaboration groups using a drag-and-drop interface. It is accessible from the “Groups” link in the JupyterHub navigation bar, which replaces the “My Group” link for Owners and Coaches.
How it works:
- All students, that logged in at least once, initially appear in the Unassigned column on the left.
- Each collaboration group has its own card (e.g. “andorian”, “bajoran”, …).
- Drag a student’s name from Unassigned onto a group card to add them to that group. The change takes effect immediately — no save button needed.
- To remove a student from a group, drag them back to Unassigned.
Rules:
- A student belongs to at most one collaboration group at a time.
- Assigning a student to a group gives them access to that group’s shared server.
- A group that has reached its capacity accepts no further self-service joins (you can still drag someone in).
- The collab dummy users (e.g.
andorian-collab) are hidden from the UI — they are internal technical accounts.
By default only the first empty group is offered as a drop target, so the page stays readable with 50 groups. Tick Show all groups to see them all — you need this to set a capacity on a group nobody is in yet.
Toolbar controls
| Control | What it does |
|---|---|
| Find participant | Highlights matching names wherever they appear — in Unassigned and inside every group card. Useful for “where did I put this student?” |
| Show all groups | Shows all 50 group cards instead of only the non-empty ones plus the first empty one |
| Self-service open | The course-wide switch that lets students place themselves (see below) |
| Group size + Distribute unassigned | Fills the groups in order until each holds at most the given size, without exceeding any capacity you set |
Distribute unassigned asks for confirmation first and tells you how many participants it will place. If there is not enough room for everyone, it says how many cannot be placed and places the rest — raise the group size or the capacities and run it again.
Setting a capacity
Each group card has a Capacity field. Type a number to cap the group; leave it empty (shown as ∞) for no limit. The capacity is what students see as 3/5 on their own page, and what stops a group from being over-subscribed by self-service.
Set the capacities before opening self-service — a group with no capacity is unlimited, and students will fill it.
Opening and closing self-service
Tick Self-service open to let students choose their own group at <your-hub-url>/hub/my-group; untick it to take that back.
- While open, students see a notice on the home page inviting them to choose, and can join, switch and leave under the undo window.
- While closed, joins and leaves are refused. Existing memberships are kept — closing does not empty the groups; it only ends the free-for-all.
A typical course therefore opens self-service at the start, lets students sort themselves out, uses Distribute unassigned for whoever never chose, and then closes it.
You keep full control throughout: drag-and-drop overrides anything a student did, and the undo window never applies to you.
The JupyterHub admin panel
👩🏫 Owners / Coaches: The admin panel is at
<your-hub-url>/hub/admin.
| Action | How |
|---|---|
| View all users and server status | Listed in the main table |
| Start or stop a user’s server | Click Start / Stop next to the user |
| Access a user’s server | Click Access Server (opens their environment as them) |
Note: Use “Access Server” sparingly and only with the user’s knowledge.