From ba5620545aa4565680019b1b7969552a1071c005 Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Wed, 11 Sep 2024 15:02:52 -0700 Subject: [PATCH] Enable elevated privileges for ER131 course staff --- deployments/datahub/config/common.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/deployments/datahub/config/common.yaml b/deployments/datahub/config/common.yaml index 0891e085a..b835b59cc 100644 --- a/deployments/datahub/config/common.yaml +++ b/deployments/datahub/config/common.yaml @@ -91,6 +91,19 @@ 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 + nodeSelector: hub.jupyter.org/pool-name: core-pool-2024-05-08 initContainers: