Modify

Opened 17 years ago

Closed 14 years ago

Last modified 11 years ago

#1523 closed enhancement (fixed)

Add permission type to hide ticket-comments

Reported by: jorgen.wahlund@… Owned by: anybody
Priority: normal Component: Request-a-Hack
Severity: normal Keywords: Permissions, Comments, PrivateTicketsPlugin
Cc: Trac Release: 0.11

Description

When a single customer adds a ticket I would like a behavior like this:

  • He/She can view the ticket
  • He/She can't view the ticket comments since it's mostly internal communications

So an new permission would be nice to have and in it's easiest form it's enough to have one new permission:

  • TICKET_COMMENTS_VIEW

and if the group/user don't have the permission he/she cant see the comments. Of course this could be done in a more complete manner, meaning a full range of different types of permissions for groups, reporter, cc, groups... but it's not necessary for our needs anyway.

Attachments (0)

Change History (8)

comment:1 Changed 16 years ago by Noah Kantrowitz

Component: PrivateTicketsPluginRequest-a-Hack
Owner: changed from Noah Kantrowitz to anybody
Priority: highnormal

This would best be done in a different plugin now.

comment:2 Changed 15 years ago by J Evan S

Keywords: PrivateTicketsPlugin added
Trac Release: 0.100.11

Or better, be able to specify per-comment so that some comments are restricted/private while others are more public. Seems like it should somehow tie into PrivateTicketsPlugin or at least be based on the same permissions.

comment:3 Changed 15 years ago by Ryan J Ollos

It would also be nice to have some indication, perhaps by coloring the outline of the box or the text itself, which ticket comments are private and which are public.

comment:4 Changed 14 years ago by Michael Henke

Resolution: fixed
Status: newclosed

comment:5 Changed 14 years ago by Ryan J Ollos

Looks very useful ... thanks!

comment:6 Changed 14 years ago by jorgen.wahlund@…

Finally, about 3yrs after my first request :-).

comment:7 Changed 11 years ago by jorge

There a version for trac 0.11 ??

comment:8 Changed 11 years ago by Michael Henke

Hello jorgen, the plugin itself should also work under 0.11, but you'd need to make the core patch yourself. Look how it is done here http://trac-hacks.org/browser/privatecommentplugin/0.12/notification_patch.patch.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anybody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.