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 content to a document:
UPDATE_CONTENT
andADD_CONTENT
- Deleting content from a document:
DELETE_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 folder. 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
DETACH
permission is evaluated on the folder, not on the document
To go further, consult the Javadoc: