Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable elevated privileges for PH 142 and Data 140 #6691

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading