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
4ec08dd
commit b55ae4e
Showing
1 changed file
with
21 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,38 +1,4 @@ | ||
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 | ||
|
@@ -53,7 +19,28 @@ jupyterhub: | |
name: CloudBank | ||
url: http://cloudbank.org/ | ||
hub: | ||
loadRoles: | ||
# Should use this, not hub.config.JupyterHub.load_roles - that will | ||
# override any existing load_roles set by z2jh | ||
section1-student: | ||
scopes: [read:groups!group=section1] | ||
groups: [section1] | ||
section2-student: | ||
scopes: [read:groups!group=section2] | ||
groups: [section2] | ||
section1-teacher: | ||
scopes: [read:users!group=section1, servers!group=section2] | ||
users: [[email protected]] | ||
config: | ||
loadGroups: | ||
section1: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
section2: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
Authenticator: | ||
allowed_users: &avc_users | ||
- [email protected] | ||
|