slotlist / slotlist-backend

Backend of slotlist.info, an ArmA 3 mission planning and slotlist management tool
https://slotlist.info
MIT License
13 stars 6 forks source link

Add endpoint for deleting users as an user admin #56

Closed MorpheusXAUT closed 6 years ago

MorpheusXAUT commented 6 years ago

The frontend already implements user deletion as an admin, calling DELETE /v1/users/{userUid}. This still needs to be added as a backend endpoint. The backend also needs to verify admins cannot delete "higher ranking" admins, especially users with global wildcard or the admin.superadmin permissions. This check also needs to be applied to the user details update endpoint.


Tasks