As an admin i want to be able to ban/unban users
Opened this issue · 0 comments
emil476m commented
- When an admin clicks on a user they should get a ban button
- When an admin bans a user the MUST give a ban reason and it will log who banned the user
- Make a api call to backend for banning / unbanning a user
- Refactor search so only admins can find banned users when searching for them
- Make a list of banned users that only admins have access to
- There should be an unban button beside the name of users in the banned list that only admins should be able to click
- make test for the api call