Whether a comment is private or not depends on its discussion topic:
Comments on a ticket are public when neither the ticket nor its site are marked
private.
Comments are private by default:
>>> dd.plugins.comments.private_defaultTrue
Comments on a team are public when the team is not private.
>>> rt.login("marc").show(comments.RecentComments)... `... <Detail>`__ by **marc** in reply to **jean** about `#12 <Detail>`__ : Two paragraphs ... (...)...
>>> rt.show(comments.RecentComments)... `... <Detail>`__ by **robin** in reply to **rolf** about `#11 <Detail>`__@admin : ...
comments
(comments in Noi)¶The
lino.modlib.comments
plugin in Lino Noi is configured and used to satisfy the application requirements.This is a tested document. The following instructions are used for initialization:
Overview¶
Public comments in Lino Noi are visible even to anonymous users.
There are two
Commentable
things in Lino Noi tickets and teams.Whether a comment is private or not depends on its discussion topic: Comments on a ticket are public when neither the ticket nor its site are marked private.
Comments are private by default:
Comments on a team are public when the team is not private.
Tests¶
The demo database contains 252 comments, 84 about a team and 84 about a ticket. 56 comments are public.