Actions
Defect #35827
closedDeleting a closed or archived project returns 403
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
Following #33945, it turned out that the patch removes the ability to delete closed or archived projects (even for administrators). The behavior is here:
- deleting an archived project (as admin) - HTTP 403: The project you're trying to access has been archived.
- deleting a closed project - HTTP 403 - You are not authorized to access this page.
The attached patch fixes this. With this patch, closed projects can be deleted by normal users (if they have the project permission) or administrators. Archived projects can be deleted by admins only. The behavior for active projects is unchanged.
I'm setting the target version to 4.2.3 since this is a regression since Redmine 4.2.0.
Files
Updated by Marius BĂLTEANU over 3 years ago
- Category set to Projects
- Status changed from New to Resolved
- Assignee set to Marius BĂLTEANU
Patch committed, thank you.
Updated by Marius BĂLTEANU over 3 years ago
- Status changed from Resolved to Closed
Updated by Marius BĂLTEANU about 3 years ago
- Tracker changed from Patch to Defect
- Subject changed from Allow to delete closed and archived projects to Deleting a closed or archived project returns 403
Actions