wiki:PrivateCommentPlugin

Version 13 (modified by anonymous, 4 years ago) (diff)

--

Private Comments

Description

This trac plugin lets you create comments which are only visible for users with a special permission. Additionally it is possible to set the comments visible for users without the permission by checking a new checkbox added to the ticket page

How to add a private comment: How to create a private comment

How a user with the permission sees the comment: How a user with the special permission sees a private comment

How a user without the permission sees the comment: How a user without the special permission sees a private comment


Configuration Help:

After installation of this plugin you will be prompted to update your trac environment.

Then you are able to set the name of the permission in the trac.ini in the section "privatecomments".

You have to give this permission to all groups and users who should see the private comments.

If you want to change the color of the "this comment is private"- message you can do this by adding a css-class named "private_comment_marker" to your css.

The label of the checkbox is modifiable via the css-class "private_comment_checkbox".

Bugs/Feature Requests

Old Comments

I created a script which creates the necessary entries in the private_comments table. Just place the script cpce.py into your trac context and run it

-

Existing bugs and feature requests for PrivateCommentPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out PrivateCommentPlugin from here using Subversion, or browse the source with Trac.

Example

Recent Changes

[13050] by rjollos on 2013-05-04 04:34:50

Fixes #11052, Refs #11049: (PrivateCommentPlugin)

  • Changed license to BSD 3-Clause with permission of author.
  • Changed plugin name to CamelCase.
[13049] by rjollos on 2013-05-04 04:34:44
(0.4dev) Convert tabs to spaces in upgrade script, and made some PEP-0008 and Trac coding convention changes.
[13048] by rjollos on 2013-05-04 04:34:36
(0.4dev) PEP-0008 and Trac coding convention changes.

Author/Contributors

Author: mhenke
Maintainer: mhenke
Contributors:

Attachments (3)

Download all attachments as: .zip