プロジェクト

全般

プロフィール

Vote #73799

未完了

No more comments when ticket closed

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

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

0%

予定工数:
category_id:
2
version_id:
0
issue_org_id:
13814
author_id:
19660
assigned_to_id:
0
comments:
21
status_id:
1
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Is there a possibility to prevent users from commenting on closed tickets?


journals

--------------------------------------------------------------------------------
See #3521#note-5.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Any news on this or maybe a patch which could handle this?
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
"No more comments when ticket closed" according to the role in fields permissions.
why not fixing this feature?
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
In my opinion, this could be implemented with option 'comments allowed' and 'comments disallowed' when an issue is closed. This could be done for each issue and/or globally and/or per project.
--------------------------------------------------------------------------------
A first patch would help me ... ;)
--------------------------------------------------------------------------------
To get this idea widely...

There could be added a new member in the issues table, par example 'comments_allowed' of type @TINYINT(1)@ and it should be set to TRUE when creating new issue. Then

* associate a checkbox in the edit issue dialog
* associate permissions for access of 'comments_allowed'.
* add a menu item in the context menu for allow / disallow.
* add a global configuration option about 'disallow comments on closing issues'.
* add a project configuration option about 'disallow comments on closing issues'.
* add a project configuration option about which setting is with bigger priority: the global one or project one. (is needed?)
* add code that calculates above conditions and sets or clears 'comments_allowed'.

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

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

--------------------------------------------------------------------------------
I needed that recently, attaching a simplistic patch adding a permission.

For the record, I don't know a thing about Rails, just needed a quick hack.
--------------------------------------------------------------------------------
I have added this feature to the plugin "Redmine tweaks":http://www.redmine.org/plugins/redmine_tweaks.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Hello

We need some help to this topic again.

Installing the patch with the command written above works.
After the installation and a restart of the server it is still possible to comment on closed issues…
I tried to understand “what the patch” is doing and check if that worked.

Due to formatting problems, please see attached pdf-file.

Thanks in advance for further tips.
--------------------------------------------------------------------------------
+1

--------------------------------------------------------------------------------
We created a workaround using the view customize plugin.
I hope this helps.

https://redmine.tokyo/issues/235#note-9

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

--------------------------------------------------------------------------------
I've been looking for this as well.
And I just realised the additionals plugin actually implements this functionality: https://www.redmine.org/plugins/additionals
I can confirm it works. Make sure role you want to prevent from editing closed issues does not have "Edit closed issues" permission assigned.
Configure the additionals plugin at: /settings/plugin/additionals?tab=rules
The option is called "Disallow editing of closed issues (Freeze)".
--------------------------------------------------------------------------------
Marji Cermak wrote:
> I've been looking for this as well.
> And I just realised the additionals plugin actually implements this functionality: https://www.redmine.org/plugins/additionals
> I can confirm it works. Make sure role you want to prevent from editing closed issues does not have "Edit closed issues" permission assigned.
> Configure the additionals plugin at: /settings/plugin/additionals?tab=rules
> The option is called "Disallow editing of closed issues (Freeze)".

Agreed. I have been using the plugin for last few weeks for this specific reason and it does exactly what OP asks for.
--------------------------------------------------------------------------------


related_issues

relates,Closed,7557,Deny editing of descriptions of closed issues
relates,New,2685,Display notice when commenting on closed tickets
relates,Closed,3521,Permissions for roles to change fields per tracker/status
relates,New,33868,Prevent adding notes to closed issues
duplicates,Closed,18382,Disable closed issues for commenting
duplicates,Closed,27036,Ticket status closed

Admin Redmine さんが約3年前に更新

  • カテゴリIssues_2 にセット

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

いいね!0
いいね!0