Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Make user 7 admin, student and teacher #376

Merged
merged 1 commit into from
May 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions backend/fill_database_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ def fill_database_mock() -> None:
student7 = create_student(session, "Stef", "[email protected]")
student8 = create_student(session, "Mathieu", "[email protected]")

modify_user_roles(session, student7.id, [Role.STUDENT, Role.ADMIN, Role.TEACHER])

# Create teachers
teacher1 = create_teacher(session, "Kris Coolsaet", "[email protected]")
teacher2 = create_teacher(session, "Sophie Devolder", "[email protected]")
Expand Down