From ba5620545aa4565680019b1b7969552a1071c005 Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Wed, 11 Sep 2024 15:02:52 -0700 Subject: [PATCH 1/2] 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: From 71205600002a1332d89005f03d3e8c253384f9ed Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Wed, 11 Sep 2024 15:06:48 -0700 Subject: [PATCH 2/2] Enable elevated privileges for econ 140 --- 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 b835b59cc..0a64335fc 100644 --- a/deployments/datahub/config/common.yaml +++ b/deployments/datahub/config/common.yaml @@ -104,6 +104,19 @@ jupyterhub: - 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: