Sharing and Real Time Collaboration

User initiated sharing and Real-Time Collaboration (RTC)

User-initiated sharing is a mechanism allowing users to share access to their Jupyter server with other users via the Jupyterhub user sharing API. EGI Notebooks provide you this feature via user sharing menu.

Sharing access

Creating an invitation

The User sharing menu can be opened from the top bar, click on User sharing -> Open user sharing menu

user sharing menu

With the user sharing menu window opened, you can now generate invite links and share them with other users.

user sharing window

Once the invited user has accepted an invitation and authorized access, you can start collaborating on the same server.

Accepting an invitation

If you receive a link for getting access to an existing Notebook server, you will be asked to accept the sharing invitation

Accept sharing invitation

and then a request to Authorize access:

Authorize access

Once you accept and authorize, you will be able to collaborate on the existing server.

Managing invitations

You can see IDs of all users who accepted your invitation and the time when they did from the User sharing menu. Click the Refresh button or re-open the user sharing menu window to get an updated view.

user sharing user list

Click on the corresponding Revoke button to revoke access for a specific user or click on Revoke All users to revoke access for all users.

Other users access will last until you stop your server. At the start of each new session, all granted access will be revoked.

Real-time collaboration

Real-time collaboration(RTC) allows you to leverage the power of user-initiated sharing to see each other’s edits in real time.

You should see on the top-right corner of your Jupyter Lab your user initial.

user RTC corner

Whenever other users access your server you will see the details in the extension panel on the left of the Jupyter Lab interface. Now you can see users collaborating with you on your server and changes from other users will be shown in real time:

RTC sharing