What are the document states and permission supported on the server?
State management on the server is not limited to:
- Document is read-only [document.edit=false]
- Document is read and write
- Document is locked for editing by another user [document.pausecollaboration=true]
In fact, you have many more possible ways to control the permissions given with below Writer API:
To know more about the user permissions, please refer this
link.