Skip to content

feat(back): Check if user is a teacher

Sondre Alfnes requested to merge Check_is_admin into dev

When creating a account, the person is automaticly set to False as a Admin.

This merge requests adds a check to see if the user is a admin when a account is created, and if so, it will set the user to True as a Admin.

This will happen if a user has the role "Teacher"

Closes #32 (closed)

Edited by Sondre Alfnes

Merge request reports

Loading