Skip to content

Commit

Permalink
AVC: Try Again
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-morris committed Mar 15, 2023
1 parent 4ec08dd commit b55ae4e
Showing 1 changed file with 21 additions and 34 deletions.
55 changes: 21 additions & 34 deletions config/clusters/cloudbank/avc.values.yaml
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
Expand All @@ -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]
Expand Down

0 comments on commit b55ae4e

Please sign in to comment.