A document is a component in its own right, with the distinctive feature of having one or more contents. These are also known as files.
In order to restrict access to, or modifications of, a document’s content, a number of permissions are available to control possible operations:
- Viewing content:
READ_CONTENT - Adding or deleting content from a document:
UPDATE_CONTENT - Downloading document content:
DOWNLOAD_CONTENT - Enable printing in the viewer:
PRINT - Viewing document content annotations:
READ_ANNOTATION - Annotating document content:
CREATE_ANNOTATION - Document composition:
BUILD_NEW_DOCUMENT
Some actions are only available if the user has write access to the document. To do this, he/she must have the UPDATE permission and have reserved the document (see Reservation).
- Attaching the document to a folder:
ATTACH - To delete the document/folder link, the
DETACHpermission is evaluated on the folder, not on the document
To go further, consult the Javadoc: