Add fine-grained permissions on what fields can be edited via comments

daisyk - August 18, 2009 - 05:09
Project:Project issue tracking
Version:6.x-1.x-dev
Component:Issues
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I want moderators to be able to update the Issue Description. Also I don't want anyone who can enter a comment to change the Issue Title, only a separate moderator role should be able to do this.

This seems to be the configuration also on drupal.org project issues.

Is this by design or is there a permission/setup problem to note?

#1

daisyk - August 18, 2009 - 14:36
Priority:critical» normal

Permissions on editing description resolved, but still don't think that the role that can create comments should be able to change the issue title.

#2

dww - August 18, 2009 - 15:07
Title:Issue Edit Link available only to author» Add fine-grained permissions on what fields can be edited via comments

Changing the issue fields via comments is exactly how this module is designed and written.

What you're asking for is a new feature to provide fine-grained permissions on which fields can be modified during a comment. This could actually be implemented via an external module just using hook_form_alter() (although this form is subject to change over at #542150: Make issue $node->project_issue[] namespace consistent so beware of that).

I'm not sure it's worth adding the extra code and complexity into the base module for this feature, but I'm willing to continue to discuss it if other project_issue users also need/want this functionality. Perhaps we could put in an add-on module included in the same release but not as part of project_issue itself...

#3

daisyk - October 19, 2009 - 22:42

Readdressing this: The issue title is what identifies the issue. Non-expert users should be able to comment on an issue but it doesn't make sense for the issue title to be changed at this level of non-expert information. So, still asking for a separate permissions re changing issue fields vs adding comments.

 
 

Drupal is a registered trademark of Dries Buytaert.