Opened 10 years ago

Closed 7 years ago

Last modified 4 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 9 years ago by coderanger

  • Component changed from PrivateTicketsPlugin to Request-a-Hack
  • Owner changed from coderanger to anybody
  • Priority changed from high to normal

This would best be done in a different plugin now.

comment:2 Changed 8 years ago by jevans

  • Keywords PrivateTicketsPlugin added
  • Trac Release changed from 0.10 to 0.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 8 years ago by rjollos

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 7 years ago by mhenke

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 7 years ago by rjollos

Looks very useful ... thanks!

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

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

comment:7 Changed 4 years ago by jorge

There a version for trac 0.11 ??

comment:8 Changed 4 years ago by mhenke

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

Add Comment

Modify Ticket

as closed The owner will remain anybody.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.