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

feat(admin): delete user + everything command #1992

Merged
merged 2 commits into from
Mar 5, 2025
Merged

Conversation

jonaro00
Copy link
Member

@jonaro00 jonaro00 commented Mar 4, 2025

No description provided.

jonaro00 added 2 commits March 4, 2025 12:42
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR adds two new administrative commands to manage user accounts: a command to delete users and another to retrieve comprehensive user information.

  • Added DeleteUser command in /admin/src/args.rs with a 3-second safety delay before deletion
  • Added Everything command in /admin/src/args.rs that accepts user ID/project ID/email queries for retrieving account details
  • Concerning use of unwrap() in /admin/src/lib.rs for critical user deletion operations without proper error handling

3 file(s) reviewed, 3 comment(s)
Edit PR Review Bot Settings | Greptile

@jonaro00 jonaro00 merged commit a55f171 into main Mar 5, 2025
20 of 21 checks passed
@jonaro00 jonaro00 deleted the admin-delete-user branch March 5, 2025 15:03
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.

None yet

1 participant