Repository Asset Locks
The Model repository locks assets to prevent users from overwriting work. The Model repository can lock any asset that the Analyst tool displays in the Library workspace, except for projects and folders.
When you begin to edit an asset in the Analyst tool, the Model repository locks the asset so that other users cannot save changes to it. When you save the asset, you retain the lock. When you close the asset, the Model repository unlocks the asset.
If you open an asset that another user has locked, the Analyst tool notifies you that the asset is locked by another user. The object might be locked in the Analyst tool or the Developer tool. You can choose to review the asset in read-only mode, or you can save the asset with another name.
The Model repository retains asset locks if the Analyst tool shuts down. When you connect to the Model repository again, you can continue to edit the assets that you have locked. To edit an asset that is locked by another user, contact that user or the administrator.
The Properties view for each locked asset displays the time and date it was locked and the user ID of the lock owner.
Rules and Guidelines for Asset Lock Management
Consider the following rules and guidelines when you manage asset locks:
- •The Model repository does not lock the asset when you open it. The Model repository locks the asset only after you begin to edit it. For example, the Model repository locks a mapping specification when you insert a cursor in an editable field or rename the asset.
- •You can use more than one client tool to develop an asset. For example, you can edit an asset on one machine and then open the asset on another machine and continue to edit it. When you return to the first machine, you must close the asset and reopen it to regain the lock. The same principle applies when a user with administrative privileges unlocks an asset that you had open.
- •An administrator can revoke your write permission on an asset you have locked, or reassign the lock to another user. In this case, you cannot edit or save the asset. You can save the asset with another name.