Skip to main content

Lock/unlock collaborative draft for editing

This feature is designed to enhance multi-tenancy collaboration, specifically tailored for scenarios where multiple users access and modify the same SQL draft simultaneously. Upon a user starting the editing process, the draft is automatically locked to prevent simultaneous conflicting changes. This lock is visible to both the user who initiated the lock and other users who have been invited to collaborate, indicated by a notification in the SQL Editor file list within the console stating "[email] locked at [timestamp]." Should another user wish to edit the draft during this lock period, they will find the content in the editing area unmodifiable with the message “Cannot edit in read-only editor“.

This locking mechanism facilitates seamless collaboration among users, ensuring that document edits are managed effectively without overlap.

To unlock a currently locked draft:

  1. On the Dashboard page, open the console for the workspace you want to manage.

  2. In the Console navigation pane, click SQL editor and choose the Drafts tab.

  3. Click on the draft you want to edit.

    note
    • The grey information text next to the draft name shows "locked".
    • The draft Editor window is read-only.
  4. Click the Click to unlock link in the top right of the SQL Editor window.

  5. When prompted, click OK to confirm that you want to unlock the draft and edit.

  6. Make your changes.

The draft remains locked by you until another unlock request is made by a different user.