2907 Prevent deletion of submitted projects#3058
Open
arshiamasih wants to merge 10 commits intodevelopfrom
Open
2907 Prevent deletion of submitted projects#3058arshiamasih wants to merge 10 commits intodevelopfrom
arshiamasih wants to merge 10 commits intodevelopfrom
Conversation
…ct first name table label
arshiamasih
commented
Mar 25, 2026
arshiamasih
commented
Mar 25, 2026
arshiamasih
commented
Mar 25, 2026
arshiamasih
commented
Mar 25, 2026
arshiamasih
commented
Mar 25, 2026
entrotech
requested changes
Mar 27, 2026
Member
entrotech
left a comment
There was a problem hiding this comment.
The part that is missing is the change to the web api server that rejects a PUT request to delete a project if it has been submitted. In my mind this is the most important part, because
- It does not depend on the more complex front-end logic being perfect to prevent accidental deletion of submitted projects, and
- it prevents an attacker from maliciously bypassing the front-end code to delete projects (admittedly a pretty unlikely attack strategy)
Also, see my comments below.
Member
Author
Yes agree and makes perfect sense - missed the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes did you make?
Pop Over | DELETE
draft, owned by me
snapshot, (not submitted) owned by me
Pop Over | No DELETE
draft, not owned by me
snapshot, not owned by me
submitted snapshot, owned by anyone
Why did you make the changes (we will use this info to test)?
Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)
Visuals before changes are applied
Visuals after changes are applied
Case SHOW DELETE: draft, owned by me
Project context menu:

Project wizard:

Case SHOW DELETE: snapshot, (not submitted) owned by me
Project context menu:

Project wizard:

Case DO NOT SHOW DELETE: draft, not owned by me
Project context menu:

Project wizard:

Case DO NOT SHOW DELETE: snapshot, not owned by me
Project context menu:

Project wizard:

Case DO NOT SHOW DELETE: submitted snapshot, owned by anyone
Project context menu:

Project wizard:
