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

[feature] dropAllData admin mutation #583

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Conversation

KCarretto
Copy link
Collaborator

What type of PR is this?

/kind feature

What this PR does / why we need it:

  • Updates some edge deletion policies to cascade, meaning that if an edge is required and the corresponding node is deleted, the ent will also be deleted (e.g. deleting a beacon will also delete it's tasks).
  • Adds new dropAllData GraphQL mutation, restricted to admins
    • Preserves users, tomes, and files
  • Tests

Which issue(s) this PR fixes:

Fixes #564

@KCarretto KCarretto requested a review from hulto February 13, 2024 00:42
Copy link
Collaborator

@hulto hulto left a comment

Choose a reason for hiding this comment

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

lgtm

@KCarretto KCarretto merged commit 3c4d578 into main Feb 13, 2024
6 checks passed
@KCarretto KCarretto deleted the admin-delete-mutation branch February 13, 2024 00:45
nullmonk pushed a commit that referenced this pull request Feb 14, 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
Development

Successfully merging this pull request may close these issues.

API endpoint to clear DB (except user auth)
2 participants