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

Add API route to revoke memberships #192

Open
1 task
Tracked by #484
asmahood opened this issue Jan 18, 2023 · 0 comments
Open
1 task
Tracked by #484

Add API route to revoke memberships #192

asmahood opened this issue Jan 18, 2023 · 0 comments
Labels
type::Feature Issues/Pull requests that implement a new feature/enhancement work::Product Development

Comments

@asmahood
Copy link
Member

asmahood commented Jan 18, 2023

Description

Currently once a user has been registered to a semester they cannot be removed. Meaning there could be many "dead" users who were mistakenly added to a semester, misrepresenting the member count and clogging other results.

Approach

  • Create a new endpoint on DELETE /api/memberships/<membershipId>
  • Update foreign key constraints for all membership_id FKs to include ON DELETE CASCADE
  • Test to ensure that referenced entities are deleted along with memberships (rankings, participants)

Related To

Blocked By

Blocks

@asmahood asmahood self-assigned this Jan 18, 2023
@asmahood asmahood transferred this issue from uwpokerclub/developer-hub Jul 27, 2023
@asmahood asmahood removed their assignment Sep 20, 2023
@asmahood asmahood added the type::Feature Issues/Pull requests that implement a new feature/enhancement label Sep 30, 2023
@asmahood asmahood changed the title Add option to remove users from a semester Add API route to revoke memberships Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::Feature Issues/Pull requests that implement a new feature/enhancement work::Product Development
Projects
None yet
Development

No branches or pull requests

2 participants