forked from 2i2c-org/infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b5e377
commit 4ec08dd
Showing
1 changed file
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,38 @@ | ||
jupyterhub: | ||
load_groups: | ||
section1: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
section2: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
load_roles: | ||
# Should use this, not hub.config.JupyterHub.load_roles - that will | ||
# override any existing load_roles set by z2jh | ||
section1-student: | ||
name: section1-student | ||
scopes: | ||
# Allow all users access to 'services', which includes dask-gateway & configurator | ||
- read:groups!group=section1 | ||
groups: | ||
- section1 | ||
section2-student: | ||
name: section2-student | ||
scopes: | ||
# Allow all users access to 'services', which includes dask-gateway & configurator | ||
- read:groups!group=section2 | ||
groups: | ||
- section2 | ||
section1-teacher: | ||
name: section1-teacher | ||
scopes: | ||
# Allow all users access to 'services', which includes dask-gateway & configurator | ||
- read:users!group=section1 | ||
- servers!group=section2' | ||
users: | ||
- [email protected] | ||
custom: | ||
2i2c: | ||
add_staff_user_ids_to_admin_users: true | ||
|
@@ -19,40 +53,6 @@ jupyterhub: | |
name: CloudBank | ||
url: http://cloudbank.org/ | ||
hub: | ||
load_groups: | ||
section1: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
section2: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
load_roles: | ||
# Should use this, not hub.config.JupyterHub.load_roles - that will | ||
# override any existing load_roles set by z2jh | ||
section1-student: | ||
name: section1-student | ||
scopes: | ||
# Allow all users access to 'services', which includes dask-gateway & configurator | ||
- read:groups!group=section1 | ||
groups: | ||
- section1 | ||
section2-student: | ||
name: section2-student | ||
scopes: | ||
# Allow all users access to 'services', which includes dask-gateway & configurator | ||
- read:groups!group=section2 | ||
groups: | ||
- section2 | ||
section1-teacher: | ||
name: section1-teacher | ||
scopes: | ||
# Allow all users access to 'services', which includes dask-gateway & configurator | ||
- read:users!group=section1 | ||
- servers!group=section2' | ||
users: | ||
- [email protected] | ||
config: | ||
Authenticator: | ||
allowed_users: &avc_users | ||
|