Just add the information to the table about whether user is supended or not ,and the button that either says "Suspend" or "Restore". The buttons should work, but the confirmation modal can be saved for a second issue.
User Story
As an admin
I can suspend a user from logging in (if they have misbehaved)
So that I can keep the game safe and fun for everyone else.
Acceptance Criteria:
[x] Admin and ordinary user can see a "suspended column" in the user table that refers to the suspended fields of that row's user
[x] Only an admin and not an ordinary user can see two additional columns, one with a red button with "Suspend" on it, another with a green button with "Restore" on it
[x] Clicking the suspend button connects to the api and sets that row's user's suspend value to true
[x] Clicking the restore button connects to the api and sets that row's user's suspend value to false
Just add the information to the table about whether user is supended or not ,and the button that either says "Suspend" or "Restore". The buttons should work, but the confirmation modal can be saved for a second issue.
User Story
Acceptance Criteria: