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

Add admin #400

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 @@ -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