diff --git a/deployments/datahub/config/common.yaml b/deployments/datahub/config/common.yaml index 0891e085a..0a64335fc 100644 --- a/deployments/datahub/config/common.yaml +++ b/deployments/datahub/config/common.yaml @@ -91,6 +91,32 @@ jupyterhub: - course::1538361::enrollment_type::teacher - course::1538361::enrollment_type::ta + # ER 131, Fall 2024, https://github.com/berkeley-dsep-infra/datahub/issues/6137 + course-staff-1538017: + # description: Enable course staff to view and access servers. + # # this role provides permissions to... + scopes: + - list:users!group=course::1538017 + - admin:servers!group=course::1538017 + - access:servers!group=course::1538017 + # # this role will be assigned to... + groups: + - course::1538017::enrollment_type::teacher + - course::1538017::enrollment_type::ta + + # ECON 140, Fall 2024, https://github.com/berkeley-dsep-infra/datahub/issues/6153 + course-staff-1538138: + # description: Enable course staff to view and access servers. + # # this role provides permissions to... + scopes: + - list:users!group=course::1538138 + - admin:servers!group=course::1538138 + - access:servers!group=course::1538138 + # # this role will be assigned to... + groups: + - course::1538138::enrollment_type::teacher + - course::1538138::enrollment_type::ta + nodeSelector: hub.jupyter.org/pool-name: core-pool-2024-05-08 initContainers: