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

Commit

Permalink
Merge pull request #376 from SELab-2/bugfix
Browse files Browse the repository at this point in the history
Make user 7 admin, student and teacher
  • Loading branch information
cstefc authored May 23, 2024
2 parents 2885160 + 2f47b6f commit 5cdb1db
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit 5cdb1db

Please sign in to comment.