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

Validate user delete endpoint #45

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

jonathanychen
Copy link

ℹ️ Issue

Closes <#34>

📝 Description

Added validation to user deletion endpoint to ensure that Admin users can delete anyone, and other users can only delete themselves

✔️ Verification

Tested using Postman going through signup --> signin --> delete user flow

Copy link
Member

@chromium-52 chromium-52 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kimharr24 kimharr24 merged commit 015dda7 into main Feb 20, 2024
4 checks passed
@chromium-52 chromium-52 deleted the jonathanychen/validate-user-delete-endpoint branch February 22, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants