Skip to content
Snippets Groups Projects
Unverified Commit 6fb9ae29 authored by Marius Friess's avatar Marius Friess Committed by GitHub
Browse files

Allow admins to delete user accounts (#38)


* Add permission function

* Update permission function

* format with prettier

* Add deleteAccount function

* move userId from body into api param

* change api path

* Generate more users in db seeder

---------

Co-authored-by: default avatarneda_moshki <uzijb@student.kit.edu>
Co-authored-by: default avatarFlorian Raith <florianraith00@gmail.com>
parent 208e19ba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment