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
(comments in Avanti)¶The
lino.modlib.comments
in Lino Avanti is configured and used to satisfy the application requirements.Side note: Code snippets (lines starting with
>>>
) in this document get tested as part of our development workflow. The following initialization snippet tells you which demo project is being used in this document.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:
All partners are
Commentable
, but in Lino Avanti: we use comments only onClient
.Tests¶
The demo database contains 540 comments, and they are all private.
Robin can see them all.
Nathalie sees only her own comments:
Summary: