Users can lock and unlock files. When a file is locked, it is unmodifiable - meaning it cannot be moved, deleted or edited. Any action for creating a new version or modification of a locked file is blocked by the API.
In the toolbar, the lock button is rendered whenever unlocked files are selected:
*Note: The Lock/Unlock button is only rendered to users with the appropriate roles and permissions.
To lock files:
- Select the files to lock.
- Click the Lock button.
- Confirm Lock action.
After confirmation, the file is locked. In the Folder view, a user can identify a locked file by the greyed out background and the lock icon (first file in screenshot below):
In the File view, a user can identify a locked file by seeing the locked icon next to the title:
If the selected files are already locked, the unlock button is shown in the toolbar and the same flow applies when unlocking a file:
- Select the files to unlock.
- Click the Unlock button.
- Confirm Unlock action.