Teachers without edition can now also access TAM
Summary
getManagerPortal
was wrongly checking that only people teaching a course (isTeacherOfAny
) can access TAM. Now anyone with staff account (isStaff
) can access.
Checklist
All items on this checklist should be checked.
-
I have added a changelog entry. -
I have added a test that catches the original bug behaviour. -
I adhere to the style guide.
How to review
Try to log in with a teacher without an active edition currently and see that you no longer get "access denied". You can also see that other teachers and students can also still log in.
Issues and tasks closed
Closes #277 (closed)
Edited by Rūta Giedrytė
Merge request reports
Activity
changed milestone to %TAM Version 2425.0.0
added task typebug label
assigned to @rgiedryte
marked the checklist item I adhere to the style guide. as completed
started a merge train
mentioned in commit 83845b99
Please register or sign in to reply