|Version 4 (modified by 7 years ago) (diff),|
This trac plugin lets you create comments which are only visible for users with a special permission.
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 these 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 also modifiable via the css-class "private_comment_checkbox"
This plugin does not work with old comments
It is possible to make them editable by adding the necesarry database entries into the table "private_comment"
If you have any issues, create a new ticket.
Download the zipped source from [download:privatecommentplugin here].
- 13050 by rjollos on 2013-05-04 02:34:50
- Changed license to BSD 3-Clause with permission of author.
- Changed plugin name to CamelCase.
- 13049 by rjollos on 2013-05-04 02: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 02:34:36
(0.4dev) PEP-0008 and Trac coding convention changes.
add_a_comment.png (5.0 KB) - added by 7 years ago.
How to create a private comment
view_comment_w_permission.png (5.7 KB) - added by 7 years ago.
How a user with the special permission sees a private comment
view_comment_wo_permission.png (1.7 KB) - added by 7 years ago.
How a user without the special permission sees a private comment
Download all attachments as: .zip