Skip to content

Commit

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

0 comments on commit 4ec08dd

Please sign in to comment.