Chapter 3 Basic Repository Tasks
If you consolidate a PowerDesigner model for the first time in the repository, you also consolidate the packages it contains. If you update a model in the repository after an extraction, you also consolidate the extracted packages.
Usually, you need the Write or Full permission to consolidate a document in the repository; however when you work on a PowerDesigner model the following situation occurs:
Permission on model | Permission on one of the packages | Allowed to consolidate? |
---|---|---|
Write or Full | Read | Yes |
Write or Full | Write or Full | Yes |
Read | Write or Full | Yes |
Read | Read | No |
You can consolidate a model on which you have a Read permission if it contains at least one package with a Write or Full permission.
When you extract a model, the following packages are also extracted with the model: packages with an extraction permission, target packages for shortcuts, and parent packages for a selected package.
Target packages and parent packages may or may not have extraction permissions, they are extracted to create the appropriate working environment on your local machine.
For more information on package extraction, see section Extracting packages in chapter Extracting Documents.
Those packages that do not have an explicit Write or Full permission should not be modified locally because you do not have the permission to consolidate them. All modifications done in a package that does not have a Write or Full permission will appear in the Merge dialog box but will not be taken into account during consolidation.
Let's consider the following example: you extract Package 1 (Write permission) and Package 2 (Read permission). Package 1 contains a target entity for a shortcut in Package 2, this entity is called Employee.
You modify the entity Employee in Package 1, the shortcut is automatically updated in Package 2. When you consolidate the model, both target object and shortcut are updated in the repository, although you do not have a Write or Full permission on Package 2.
If you invert permissions and set Write on Package 2 and Read on Package 1, the changes performed on the target and the result on the shortcut cannot be consolidated.
Copyright (C) 2007. Sybase Inc. All rights reserved. |
![]() |