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 #400 from SELab-2/add-admin
Browse files Browse the repository at this point in the history
Add admin
  • Loading branch information
lbarraga authored May 23, 2024
2 parents da10998 + 8bfecb7 commit 0bdf7fd
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 0bdf7fd

Please sign in to comment.