Private comments are seen only by their respective author.
Public comments are shown to other social workers. Comments are never shown to
the external supervisor.
A system administrator can see all comments (it makes no
sense to hide them because a system admin can easily create or use a user
account with the permissions they want).
>>> rt.login("nathalie").show(comments.RecentComments)... `... </#/api/comments/RecentComments/102>`__ by **nathalie** in reply to **martina** about `ABDULLAH Afááf (155/robin) </#/api/avanti/Clients/155>`__ :...
Anonymous users and auditors don't see any comment:
>>> rt.show(comments.Comments,... column_names="id user owner",limit=6)... No data to display
comments
(comments in Avanti)¶The
lino.modlib.comments
in Lino Avanti is configured and used to satisfy the application requirements.This is a tested document. The following instructions are used for initialization:
Overview¶
Comments in Lino Avanti are considered confidential data and can be seen only by users with appropriate permission.
See also User types in Lino Avanti.
Private comments are seen only by their respective author.
Public comments are shown to other social workers. Comments are never shown to the external supervisor.
A system administrator can see all comments (it makes no sense to hide them because a system admin can easily create or use a user account with the permissions they want).
Comments are private by default:
There is only one
Commentable
thing in Lino Avanti: the client.Tests¶
The demo database contains 108 comments, and they are all private.
Robin can see them all.
Nathalie sees only her own comments:
Anonymous users and auditors don't see any comment: