2i2c-org / features

Temporary location for feature requests sent to 2i2c
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Letting JupyterHub groups be used to provide access to shared NFS folders #17

Open consideRatio opened 1 year ago

consideRatio commented 1 year ago

A user in this support ticket is looking to have a shared folder available only to a certain group of users. The use case is to have teaching assistants be able to share files that students can't see.

From the documentation it is unclear to me on how a non-admin user can share folders with a selected group of users.

I've considered this problem in the past in a JupyterHub that was deployed side by side with a GitLab instance. I decided to access the GItLab API to read what groups the user was part of, and based on that I configured additional volumeMounts for KubeSpawner.

I think if JupyterHub provides a UI for admin users to configure groups and what users belong to what groups, we could let the hub admin define what users belong in what group etc. Then, based on their self-managed group configuration, we allocate shared folders by default to users in the same group.

yuvipanda commented 7 months ago

Tracked in productboard: https://2i2c.productboard.com/feature-board/7803674-product-ideas/features/25937913/detail