Skip to content

Commit

Permalink
Add stanza to provide elevated access for Prob 140 and Data 8 course …
Browse files Browse the repository at this point in the history
…staff
  • Loading branch information
balajialg committed Aug 26, 2024
1 parent 1cd5d11 commit 18380ff
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
14 changes: 7 additions & 7 deletions deployments/data8/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,19 @@ jupyterhub:
# - course::N::enrollment_type::teacher
# - course::N::enrollment_type::ta

# Data 8, Summer 2024, https://github.com/berkeley-dsep-infra/datahub/issues/5834
course-staff-1535365:
# Data 8, Fall 2024, https://github.com/berkeley-dsep-infra/datahub/issues/6014
course-staff-1538208:
# description: Enable course staff to view and access servers.
# # this role provides permissions to...
scopes:
- admin-ui
- list:users!group=course::1535365
- admin:servers!group=course::1535365
- access:servers!group=course::1535365
- list:users!group=course::1538208
- admin:servers!group=course::1538208
- access:servers!group=course::1538208
# # this role will be assigned to...
groups:
- course::1535365::enrollment_type::teacher
- course::1535365::enrollment_type::ta
- course::1538208::enrollment_type::teacher
- course::1538208::enrollment_type::ta

singleuser:
extraFiles:
Expand Down
25 changes: 12 additions & 13 deletions deployments/prob140/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,19 @@ jupyterhub:
# - course::N::enrollment_type::teacher
# - course::N::enrollment_type::ta

## Data C140, Spring 2024, #https://github.com/berkeley-dsep-infra/datahub/issues/5466
#course-staff-1533557:
# Data C140, Fall 2024, #https://github.com/berkeley-dsep-infra/datahub/issues/6011
course-staff-1537389:
# description: Enable course staff to view and access servers.
# this role provides permissions to...
# scopes:
# - admin-ui
# - list:users!group=course::1533557
# - admin:servers!group=course::1533557
# - access:servers!group=course::1533557
# this role will be assigned to...
# groups:
# - course::1533557::enrollment_type::teacher
# - course::1533557::enrollment_type::ta

# # this role provides permissions to...
scopes:
- admin-ui
- list:users!group=course::1537389
- admin:servers!group=course::1537389
- access:servers!group=course::1537389
# # this role will be assigned to...
groups:
- course::1537389::enrollment_type::teacher
- course::1537389::enrollment_type::ta
nodeSelector:
hub.jupyter.org/pool-name: core-pool-2024-05-08

Expand Down

0 comments on commit 18380ff

Please sign in to comment.