Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some admin-protected routes #138

Merged
merged 3 commits into from
Apr 18, 2024
Merged

Some admin-protected routes #138

merged 3 commits into from
Apr 18, 2024

Conversation

reyniersbram
Copy link
Contributor

@reyniersbram reyniersbram commented Apr 18, 2024

  • Toggle the admin status of a user
  • Toggle the teacher status of a user
  • Get information about all users

@reyniersbram reyniersbram marked this pull request as draft April 18, 2024 18:36
@reyniersbram
Copy link
Contributor Author

Deze PR is klaar. De vraag is alleen nog of een admin voor zichzelf kan instellen of die teacher is of niet. Momenteel is dit wel mogelijk. Ook zou een admin zichzelf al dan niet per ongeluk geen admin meer kunnen maken.

@reyniersbram reyniersbram marked this pull request as ready for review April 18, 2024 18:49
@reyniersbram reyniersbram linked an issue Apr 18, 2024 that may be closed by this pull request
@reyniersbram reyniersbram merged commit df06d81 into dev Apr 18, 2024
4 checks passed
@reyniersbram reyniersbram deleted the all-users-endpoint branch April 18, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ToggleAdmin beveiligen en aanpassen
2 participants