The Lock command freezes the entity, its attributes, its parameters, its structures, and its design-oriented relationships against any modification regardless of permissions. This command can be applied at many different levels enabling fine-grained control. This command works alongside the access control model and is well-suited for temporal situations (locking the project in advance of a critical review, etc.).
When an entity is locked, a small lock icon will be displayed on the left side of the name field on the entity property sheet. If the entity is unlocked, no icon is present. |
To lock one or more entities, select the desired entities from the entity list in the project explorer. Right-click to access the context menu and select the Lock command. You must have administrator permissions for the selected entities in order to lock the entities.
To lock all entities in a folder, select the desired folder from the project pane in the project explorer. Right-click to access the context menu and select the Lock command. You must have administrator permissions for all entities within the folder.
Locking at the folder level will lock all entities included in the folder and all subfolders.
To lock all entities in a package, select the desired package from the project pane in the project explorer. Right-click to access the context menu and select the Lock command. You must have administrator permissions for all entities within the package.
Locking at the package level will lock all entities included in the package and all sub-packages.
To lock all entities in a project, select the project in the project explorer, then select the Lock command. You must have administrator permissions for the project.
When locking an entity, the intent is to lock those relationships that are part of the system design (allocation for example) but not those relationships that enable management of the system model (perhaps a custom relationship for entering review comments). The system definition flag on a relationship definition indicates whether the relation is a part of the controlled system definition. Those relationships tagged as part of the system definition cannot be changed if either the source or target entity is locked. |