jupyterhub / wrapspawner

Mechanism for runtime configuration of spawners for JupyterHub
BSD 3-Clause "New" or "Revised" License
60 stars 57 forks source link

Filtered WrapSpawner #15

Open Luke035 opened 6 years ago

Luke035 commented 6 years ago

Hi everyone, for internal purposes we had the necessity to integrate ProfileSpawner with a filter in order to provide to each user only an allowed set of profiles based on his group. We developed this feature in the FilteredSpawner class based on ProfileSpawner.

Each spawning profile has an additional parameter that allows to define a comma-separated list of authorized user groups. If * is specified instead of the comma-separated list the profile is available for all the users.

We found this integration quite useful, and we'd like to share it with the community.

Details in the README.md, let me know for any questions.

Thank you. L.