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

Commit

Permalink
Add admin
Browse files Browse the repository at this point in the history
  • Loading branch information
msathieu committed May 23, 2024
1 parent 74162b0 commit 8bfecb7
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 @@ -394,9 +394,11 @@ def fill_database_mock() -> None:
admin1 = create_student(session, "Bart Coppens", "[email protected]")
admin2 = create_student(session, "Bart Mesuere", "[email protected]")
admin3 = create_student(session, "Annick Van Daele", "[email protected]")
admin4 = create_student(session, "Charlotte Van Petegem", "[email protected]")
modify_user_roles(session, admin1.id, [Role.STUDENT, Role.TEACHER, Role.ADMIN])
modify_user_roles(session, admin2.id, [Role.STUDENT, Role.TEACHER, Role.ADMIN])
modify_user_roles(session, admin3.id, [Role.STUDENT, Role.TEACHER, Role.ADMIN])
modify_user_roles(session, admin4.id, [Role.STUDENT, Role.TEACHER, Role.ADMIN])
session.commit()
session.close()

Expand Down

0 comments on commit 8bfecb7

Please sign in to comment.