From ba0cf885103acdbbe8ec0c84d3b58a5cab21384b Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Wed, 11 Sep 2024 17:25:43 -0700 Subject: [PATCH] Enable elevated privileges for Data 6 --- 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 0a64335fc..13202c594 100644 --- a/deployments/datahub/config/common.yaml +++ b/deployments/datahub/config/common.yaml @@ -117,6 +117,19 @@ jupyterhub: - course::1538138::enrollment_type::teacher - course::1538138::enrollment_type::ta + # Data 6, Fall 2024, https://github.com/berkeley-dsep-infra/datahub/issues/6158 + course-staff-1538010: + # description: Enable course staff to view and access servers. + # # this role provides permissions to... + scopes: + - list:users!group=course::1538010 + - admin:servers!group=course::1538010 + - access:servers!group=course::1538010 + # # this role will be assigned to... + groups: + - course::1538010::enrollment_type::teacher + - course::1538010::enrollment_type::ta + nodeSelector: hub.jupyter.org/pool-name: core-pool-2024-05-08 initContainers: