Project

General

Profile

Actions

Feature #33945

closed

Allow normal users to delete projects with permission

Added by Holger Just over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Permissions and roles
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

In self-managed environments where users can create and manage projects on their own without Administrator involvement, it might be helpful to allow users to delete their own projects when they are not needed anymore. Using the existing permissions system, this can be easily managed.

The attached patch implements this against the current trunk (r19997). We allow to delete a project if the user has the necessary permission in the project AND if the project is a leaf-project without further subprojects.

The latter restriction is intended as a fail-safe to prevent users from deleting large project trees. We could theoretically allow the deletion of whole trees if the user has the permission to delete all projects in the tree. However, this check would likely be prone to races and helps only for uncommon cases. Also, Administrators can delete full project trees as before.

The necessary permission is not granted to any role by default so that an Administrator has to consciously grant this permission if required.


Files


Related issues

Has duplicate Redmine - Feature #15423: Permission to delete own projectClosed

Actions
Has duplicate Redmine - Patch #15616: Add a permission setting allowing members to delete their own projectsClosed

Actions
Actions #1

Updated by Go MAEDA over 3 years ago

  • Has duplicate Feature #15423: Permission to delete own project added
Actions #2

Updated by Go MAEDA over 3 years ago

  • Target version set to Candidate for next major release
Actions #3

Updated by Go MAEDA over 3 years ago

  • Target version changed from Candidate for next major release to 4.2.0

Setting the target version to 4.2.0.

Actions #4

Updated by Go MAEDA over 3 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch.

Thank you for improving Redmine.

Actions #5

Updated by Go MAEDA over 3 years ago

  • Category changed from Projects to Permissions and roles
Actions #6

Updated by Go MAEDA over 3 years ago

  • Has duplicate Patch #15616: Add a permission setting allowing members to delete their own projects added
Actions #7

Updated by Go MAEDA about 3 years ago

  • Tracker changed from Patch to Feature
  • Resolution set to Fixed
Actions

Also available in: Atom PDF