How to set up a jupyverse for a team #318
Replies: 5 comments 6 replies
-
Let me clarify the objective and the context: Context:
Now it seems there is a new kid on the block: Jupyverse. AFAIU it is a recent, modern version of Jupyter server and could maybe fill the gap I see in the Jupyter range to allow easy, convenient small scale teamwork. Objective: Constraints:
User access rights: # file access-config.json
---
# groups just for convenience
groups:
- name: all
users:
- user-a
- user-b
# file system
# only paths mentionned are visible
folders:
# this folder would have notebooks used in real time collab
- path: "./shared"
rights:
readonly: []
readwrite:
- all
# this folder would have immutable reference notebooks and data files
- path: "./ref"
rights:
readonly:
- all
readwrite: []
# this is user-a private folder
- path: "./folder-a"
rights:
readonly: []
readwrite:
- user-a
# this is user-b private folder
- path: "./folder-b"
rights:
readonly: []
readwrite:
- user-b Assuming this can be envisaged, I would think these rights should be encoded as fief permissions ? Or should it stays with jupyverse as a config file read upon start like below ? jupyverse \
--set auth_fief.base_url=https://jupyverse-XXXXX.fief.dev \
--set auth_fief.client_id=XXXXXXXXXXXXXXXXXXXXXXXX \
--set auth_fief.client_secret=XXXXXXXXXXXXXXXXXXXXXX \
--set filesystem.access_config=access-config.json Naturally these are blunt proposals for illustration only. I would also be useful, I think, to allow such filesystem.access_config without fief so that a team of engineers in constrained corp env with zero IT support could work on same server for a few hours or a day. In general the small team use case has potential in the corp env I'm sure. Food for thought. |
Beta Was this translation helpful? Give feedback.
-
This does look interesting as it has all the features but:
This requires to work out the fps-contents extension but when done, access rights are under full control and there is no extra complexity for the engineer user. |
Beta Was this translation helpful? Give feedback.
-
Then I misunderstand quite a few things about fps_webdav... Anyway I must read more and experiment.
No hurry/pressure ! |
Beta Was this translation helpful? Give feedback.
-
@davidbrochart is it possible to make jupyverse listen on a unix socket? Jupyter Server supports this and allows to run multiple instances on a server shared by a small team without fiddling with ports. Users simply have a unix socket in their home dir and use an ssh tunnel to access it. |
Beta Was this translation helpful? Give feedback.
-
Currently jupyverse uses the uvicorn server through asphalt-web. Uvicorn has a |
Beta Was this translation helpful? Give feedback.
-
This dicussion is a follow up from issue #301
Beta Was this translation helpful? Give feedback.
All reactions