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

Admin can remove user from commons is working & Admin can get all commons a user is in - BACKEND #13

Open
1 of 5 tasks
nbelle1 opened this issue May 15, 2024 · 0 comments
Assignees

Comments

@nbelle1
Copy link
Contributor

nbelle1 commented May 15, 2024

Have you updated the title?

  • I have updated the issue's title.

As a...

admin

I can...

remove a user from a commons

So that...

I can keep gameplay safe and fun

Discussion

Admins currently do not have the ability to remove a user from a commons for any reason. Admins may need to remove users who are abusing the game, causing trouble in the chat, or students who are no longer participating in the game (for example).

Acceptance Criteria

  • Admin can get all of the commons that a user is in.
  • Tests that check that an admin can remove a user from commons are passing

Implementation Todos

Backend:

  • Fetch the list of commons a user is in (look at the Profile page for a hint on how this is implemented)
  • Use the /api/commons/{commonsId}/users/{userId} endpoint to remove a user from a commons
@nbelle1 nbelle1 self-assigned this May 15, 2024
@nbelle1 nbelle1 changed the title Admins can remove a user from a commons - BACKEND Admin can remove user from commons is working & Admin can get all commons a user is in - BACKEND May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant