| Project: | ProjectPier |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | TheWalrus |
| Status: | closed - by issue author |
Description
A project can be deleted without any confirmation via a simple GET request.
e.g.: http://localhost/projectpier/index.php?c=project&a=delete&id=1&active_project=1
would delete project #1 without any confirmation. The link is normally accessed via the 'projects' action of the 'administration' controller. That link is protected by a JavaScript confirmation. However, it seems safer to me to have a delete confirmation HTML page where the user is forced to reenter their password before the project is deleted. This patch creates that confirmation system.
To apply the patch, cd into your ProjectPier directory and run
patch -p0 < confirm-delete-project.diff.txt
| Attachment | Size |
|---|---|
| confirm-delete-project.diff_.txt | 5.28 KB |
Note that you can only delete things if you have permission to do so. This is still an important issue though.
here's a patch for SVN revision 104
Closed in favor of Issue 629.