Skip to content

Resolve "Admin access to any course"

Danae Savvidi requested to merge 222-admin-access-to-any-course into dev

Closes #222 (closed), #197 (closed)

The following have been done:

Search courses:

  • Add search courses page/functionality.
  • Reorganize header based on admin functionality (Otto checked).
  • Add course view page with information on its managers and editions (taken from Queue).
  • Add links in job offer view page to parent course page and edition page.

Editions and accepted offers for existing (Head) TAs:

  • Add edition view page with information on staff, job offers and contracts of the edition.
  • Add functionality to add/remove staff from edition (as TAs/Head TAs and Teachers).
  • If a TA/HeadTA is removed from an edition, they are rejected from all job offers in that edition (unless they have themselves rejected a job offer).
  • If TA/HeadTA is detected in the edition but does not have a job offer a warning is shown at the top of the page.
  • Buttons to add an accepted offer/or remove them from the edition for such students, have been added (for bulk and for single).

Teacher profile view for other teachers:

  • If person viewed is not a student the payscale and TA training information is not shown.
  • Programmes managed by the person is shown and editions of courses they are teaching.

Other:

  • Changed permission for search people functionality (after speaking with Otto).
  • Instead of the naming being "All Contract Requests" or "All Applications" I renamed them for consistencey

Testing:

  • Added tests for new methods.

Images

Screenshot_2024-08-01_at_13.12.59

Screenshot_2024-07-31_at_14.30.14

Screenshot_2024-07-31_at_13.32.06

Screenshot_2024-07-31_at_13.34.21

Screenshot_2024-07-31_at_13.35.24

Screenshot_2024-07-31_at_13.33.29

Screenshot_2024-07-31_at_13.35.17

Screenshot_2024-07-31_at_13.32.21

Screenshot_2024-07-31_at_13.33.09

Screenshot_2024-07-31_at_18.24.56

Edited by Danae Savvidi

Merge request reports

Loading