プロジェクト

全般

プロフィール

Vote #81046

完了

Allow normal users to delete projects with permission

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Permissions and roles_17
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
17
version_id:
152
issue_org_id:
33945
author_id:
2784
assigned_to_id:
332
comments:
7
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Setting the target version to 4.2.0.
--------------------------------------------------------------------------------
Committed the patch.

Thank you for improving Redmine.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

duplicates,Closed,15423,Permission to delete own project
duplicates,Closed,15616,Add a permission setting allowing members to delete their own projects

Admin Redmine さんが3年以上前に更新

  • カテゴリPermissions and roles_17 にセット
  • 対象バージョン4.2.0_152 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0