From b41dc7343def0498910e6e41a0db1714d9c24c6b Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Tue, 2 Jul 2024 13:45:32 -0700 Subject: [PATCH 1/2] Enable elevated privileges for PH 142 course staff for FA 24 --- deployments/publichealth/config/common.yaml | 24 ++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/deployments/publichealth/config/common.yaml b/deployments/publichealth/config/common.yaml index 4b8195e8a..e25f00acc 100644 --- a/deployments/publichealth/config/common.yaml +++ b/deployments/publichealth/config/common.yaml @@ -38,19 +38,19 @@ jupyterhub: groups: - course::1524699::group::all-admins - # PHW 142, Spring 2024, #5368 - #course-staff-1532521: - # description: Enable course staff to view and access servers. + # PHW 142, Fall 2024, #5831 + course-staff-1535789: + # description: Enable course staff to view and access servers. # this role provides permissions to... - # scopes: - # - admin-ui - # - list:users!group=course::1532521 - # - admin:servers!group=course::1532521 - # - access:servers!group=course::1532521 + scopes: + - admin-ui + - list:users!group=course::1535789 + - admin:servers!group=course::1535789 + - access:servers!group=course::1535789 # this role will be assigned to... - # groups: - # - course::1532521::enrollment_type::teacher - # - course::1532521::enrollment_type::ta + groups: + - course::1535789::enrollment_type::teacher + - course::1535789::enrollment_type::ta extraConfig: # Use 1x- in `common.yaml` extraConfig values. @@ -113,4 +113,4 @@ jupyterhub: group_profiles: # https://bcourses.berkeley.edu/courses/1524699/groups#tab-80607 course::1524699::group::all-admins: - admin: true + admin: true \ No newline at end of file From 070c7a7b99f50b772780172bbf553b8cd34dd42f Mon Sep 17 00:00:00 2001 From: Balaji Alwar <balajialwar@berkeley.edu> Date: Tue, 2 Jul 2024 14:10:45 -0700 Subject: [PATCH 2/2] Add extra line at the end --- deployments/publichealth/config/common.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/publichealth/config/common.yaml b/deployments/publichealth/config/common.yaml index e25f00acc..8719e9c1d 100644 --- a/deployments/publichealth/config/common.yaml +++ b/deployments/publichealth/config/common.yaml @@ -113,4 +113,4 @@ jupyterhub: group_profiles: # https://bcourses.berkeley.edu/courses/1524699/groups#tab-80607 course::1524699::group::all-admins: - admin: true \ No newline at end of file + admin: true