Skip to content

Commit

Permalink
Merge pull request #6691 from balajialg/ph142_ep
Browse files Browse the repository at this point in the history
Enable elevated privileges for PH 142 and Data 140
  • Loading branch information
balajialg authored Jan 22, 2025
2 parents 45b2233 + 26e6483 commit 00b15b5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions deployments/prob140/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ jupyterhub:
# - course::N::enrollment_type::teacher
# - course::N::enrollment_type::ta

# Data C140, Fall 2024, #https://github.com/berkeley-dsep-infra/datahub/issues/6011
#course-staff-1537389:
# Data C140, Spring 2025, #https://github.com/berkeley-dsep-infra/datahub/issues/6690
course-staff-1541933:
# description: Enable course staff to view and access servers.
# # this role provides permissions to...
# scopes:
# - admin-ui
# - list:users!group=course::1537389
# - admin:servers!group=course::1537389
# - access:servers!group=course::1537389
scopes:
- admin-ui
- list:users!group=course::1541933
- admin:servers!group=course::1541933
- access:servers!group=course::1541933
# # this role will be assigned to...
# groups:
# - course::1537389::enrollment_type::teacher
# - course::1537389::enrollment_type::ta
groups:
- course::1541933::enrollment_type::teacher
- course::1541933::enrollment_type::ta
nodeSelector:
hub.jupyter.org/pool-name: core-pool-2024-05-08

Expand Down
20 changes: 10 additions & 10 deletions deployments/publichealth/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ jupyterhub:
groups:
- course::1524699::group::all-admins

# PHW 142, Fall 2024, #https://github.com/berkeley-dsep-infra/datahub/issues/6026
#course-staff-1537782:
# PHW 142, Spring 2025, #https://github.com/berkeley-dsep-infra/datahub/issues/6685
course-staff-1540322:
# description: Enable course staff to view and access servers.
# this role provides permissions to...
#scopes:
# - admin-ui
# - list:users!group=course::1537782
# - admin:servers!group=course::1537782
# - access:servers!group=course::1537782
scopes:
- admin-ui
- list:users!group=course::1540322
- admin:servers!group=course::1540322
- access:servers!group=course::1540322
# this role will be assigned to...
#groups:
# - course::1537782::enrollment_type::teacher
# - course::1537782::enrollment_type::ta
groups:
- course::1540322::enrollment_type::teacher
- course::1540322::enrollment_type::ta

extraConfig:
# Use 1x-<title> in `common.yaml` extraConfig values.
Expand Down

0 comments on commit 00b15b5

Please sign in to comment.