Technical documentation - Locks on data and multiple users

This article describes the lock mechanism in Manager application to support multiple users working on the same site.

Overview

The Manager and Server applications uses optimistic locking of presentations when many users work on the same site. The locking mechanism operates on presentations.

The principles are that:

  • when a user opens a presentation and makes a change on any place in the presentation, without saving, a lock is placed on the presentation.

  • when a storage is reloaded, locks will be shown in the storage.

  • hover mouse pointer over the pad lock symbol, a tool tip displays owner and date of the lock.

  • when a second user tries to start making changes to a locked presentation, they will be denied since a lock is present.

  • when the lock is owned by “myself”, editing is allowed and the lock is removed once the item is saved again.

  • locks are removed when presentations are successfully saved.

Removing a lock

If a lock exists on a presentation, it is possible for any user to remove that lock. Right-click on the presentation with the lock and select “Remove lock”.

If an user removes a lock from a presentation and saves changes, another user that created the lock may overwrite the changes.