Modify

Opened 7 years ago

Closed 4 years ago

Last modified 21 months 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 6 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 6 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 5 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 4 years ago by mhenke

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

comment:5 Changed 4 years ago by rjollos

Looks very useful ... thanks!

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

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

comment:7 Changed 21 months ago by jorge

There a version for trac 0.11 ??

comment:8 Changed 21 months 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 http://trac-hacks.org/browser/privatecommentplugin/0.12/notification_patch.patch.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.