Lock files via the Google Drive API to prevent content edits
You can also add and delete content constraints using the Drive API. Any file form in the Drive can be "locked" by using the new ContentRestriction API, prohibiting modifications to the content, title, and comments of a document.
Content limitations can be enabled or disabled via the API, and any user who has at least an editor permission level for the item can uninstall them via Google Drive on the web.
Reasons to use Drive API
Although the shared editing and commenting capabilities of Google Drive are always useful and advantageous, it is sometimes necessary to realize that no improvements to a document are being made. It can help to do this by locking a file with the ContentRestriction API which can be used for.
- Lock authoritative versions of documents to create “official” or “final” documents for record keeping.
- Prevent changes to documents that are involved in a workflow, automation, or business process.
- Freezing activity on a document for a period of reviews or audits.
How to use it?
Admins - Admins and developers with editor content access level and up and can use the API.
End users - End users with editor content access level and up and can use the API.
Available to Essentials, Business Starter, Business Standard, Business Plus, Enterprise Essentials, Enterprise Standard, Enterprise Plus, Education, Enterprise for Education, and Nonprofits customers
Post a Comment