Opened 11 years ago

Closed 8 years ago

Last modified 5 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


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:


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 10 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 9 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 9 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 8 years ago by Michael Henke

Resolution: fixed
Status: newclosed

comment:5 Changed 8 years ago by Ryan J Ollos

Looks very useful ... thanks!

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

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

comment:7 Changed 5 years ago by jorge

There a version for trac 0.11 ??

comment:8 Changed 5 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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain anybody.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.