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

Super admins can delete events #152

Open
christianhelp opened this issue Dec 25, 2024 — with Linear · 1 comment
Open

Super admins can delete events #152

christianhelp opened this issue Dec 25, 2024 — with Linear · 1 comment
Labels

Comments

Copy link
Collaborator

christianhelp commented Dec 25, 2024

Description

Currently, there is no functionality to allow an admin to delete an event through an interface leading to them having to go into the database which is less than ideal.

Requirements

  • Allow for a server action that lets super admins only delete events
    • With this, create an action called executiveAction that only allows super admins to make modifications
    • Action should run revalidatePath to properly reflect the changes
  • A super admin should have the option to delete an event from admin/events
  • Replace scanner and view buttons with an action dropdown that includes the links as they would be represented in the buttons
  • Add a delete option to this that acts as a Dialog Trigger

Useful Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants