Multi-user object locking
Any objects in a project can be locked, including tasks, links, library objects, resource allocations and annotations. As soon as a user starts to make an edit, such as dragging bars, all the objects being edited are locked. You are unable to edit an object if it is locked to another user.
Objects are locked in the following circumstances:
- Editing an object.
- Selecting an object.
- Creating a new object.
- Creating and editing a resource allocation locks its owning bar, and editing a bar locks all its resource allocations.
- Deleting or editing a task locks the whole bar.
- Deleting a link places existence locks on the tasks at both ends of the link and removing a reference to an object places an existence lock on that object. Objects that are existence-locked can be edited but not deleted. For example, changing a bar's calendar from A to B places an existence lock on calendar A. Existence locks are not displayed on screen, but if you try to delete an object that is existence-locked, the deletion fails and an error message appears.
Locking a single task or allocation on a bar locks that whole bar. Locked bars and tasks are identified to other users by being displayed with a coloured background. If the Lock column is displayed in the spreadsheet, the icon in this column also indicates whether the bar is locked:
-
indicates a bar chart object that is locked to you.
-
indicates a bar chart object that is locked to another user.
If you attempt to edit a bar that is locked to another user, the edit is not allowed. When the user with the lock saves their edits, the coloured background is removed from the display on your screen, indicating that you may now edit that bar.
When an object such as a resource, calendar or code library is locked to you, a icon is displayed over the object's icon, for example in Library Explorer and other dialogs; other users see a
icon, indicating that they cannot edit the item as it is locked.
Some objects, such as links and annotations, are not displayed differently when locked.
When an object is locked to a user, other users can select the locked object to view information about it, but they cannot edit the object directly, assign an object to the locked object or delete anything that is assigned to the locked object.
You can edit a library object, such as a calendar, even if other locked objects refer to it. When you finish editing a library object, objects on other users' screens may be updated even though the objects were previously locked. If this happens a message appears in the status line, indicating what has happened and which user edited the library object.
To change the start date of a project, the project must be open in one Asta Powerproject client only.