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

Invalidate Ticket - Backend Support #103

Open
victorzheng02 opened this issue May 24, 2023 · 0 comments
Open

Invalidate Ticket - Backend Support #103

victorzheng02 opened this issue May 24, 2023 · 0 comments

Comments

@victorzheng02
Copy link
Collaborator

victorzheng02 commented May 24, 2023

When a user issues a delete on the frontend (see #99), we wish to invalidate (soft delete) the corresponding ticket and its children. This way we can still recover the data. Use a plugin such as https://github.com/dsanel/mongoose-delete for this.

Permissions: If the user is the owner of the ticket or they have higher permissions than director, they are allowed to invalidate the ticket.

@ansonjwhe ansonjwhe changed the title Soft Delete Support Invalidate Ticket - Backend Support May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant