It is possible to allow only users or category of users to preview annotation, so it can remain private.
- If User1 decides to add a private discussion thread entry with ARender previewer thread, Nuxeo Comment Service API will be able to make this comment available only for User1 in Nuxeo. Nuxeo Service API will not return the private comment to a user that has not the right to read it.
- If a user has added a private comment using te Nuxeo Comment service API, this comment will also be private on the ARender discussion thread.
In order to make available the dropdown list related to annotation's security, this parameters need to be added in arender-server-custom-vanilla.properties file:
The security support activation allows to dispay a dropdown listthat contains by default the options "private" and "public"
It can be modified by looking at the "bean" content that has the id availableSecurityLevels in arender.xml.
Selecting one of these too values combined with "save" the annotationwill add a flag with the property name selected in the XFDF.
It is free to chose the desired security behaviour regarding to the annotation type in the AnnotationAccessor's get().
From Arender, it is possible to privatise a comment (or make it public again) afterwards, using the dropdown list.