Skip to content
Snippets Groups Projects

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading