From ba0cf885103acdbbe8ec0c84d3b58a5cab21384b Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Wed, 11 Sep 2024 17:25:43 -0700 Subject: [PATCH 1/2] 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: From d959d0cc3883092e8da37e22a90e1ce9dae50d17 Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Thu, 12 Sep 2024 17:25:48 -0700 Subject: [PATCH 2/2] Add openpyssl package to DataHub image --- deployments/datahub/images/default/environment.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deployments/datahub/images/default/environment.yml b/deployments/datahub/images/default/environment.yml index f9fcbc3da..fc23d4e9b 100644 --- a/deployments/datahub/images/default/environment.yml +++ b/deployments/datahub/images/default/environment.yml @@ -115,6 +115,9 @@ dependencies: - mystmd==1.3.1 - jupyterlab-git==0.50.1 +# [DH-364] https://github.com/berkeley-dsep-infra/datahub/issues/6155 +- openpyxl==3.1.5 + - pip: # - -r /tmp/infra-requirements.txt # Econ 148, Spring 2023 https://github.com/berkeley-dsep-infra/datahub/issues/4093