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.
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.
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.