ucsb-cs156-s21 / proj-ucsb-cs-las

https://proj-ucsb-cs-las.herokuapp.com/
MIT License
2 stars 3 forks source link

On add new office hours page, filter what is shown in tutor assignment selector #324

Open pconrad opened 3 years ago

pconrad commented 3 years ago

Change backend endpoints that get data for the tutor assignment selector: 1) If admin, retrieve all data 2) Otherwise, get the data where the logged in user is either the instructor or a tutor.

(There is an example of this already in the OnlineOfficeHours selector).

Then ensure that the selector works as expected.