Visibility is an important concept to keep in mind when using Configuration Manager. In Ooyala Flex, you might have an object that is only visible to certain accounts, groups, workspaces etc. For example, you might wish to push an object from your source environment to your target environment, but if you push an object configuration with all the groups, and all the accounts that the object is being referenced by, the move will fail.
Note: When you change the visibility information for an object, the revision code remains the same.
When you deploy an object configuration with a specific visibility, you have two options:
Configuration Manager tries to map the visibility for the object coming from the source, by finding out the visibility referenced objects in the target environment (using the UUID). For example: you would find out which accounts and groups reference that object, and you then try to re-establish that relationship. In order to keep the visibility you must execute the
--keep_visibility yes command when you open open a new change session.
open --source name_of_source_env --target name of target env --keep_visibility yes
You can deploy the object without the visibility, if you feel that the visibility is not that important. In this case, the object will be set up with default visibility, e.g super user. You can then go into the target environment and manually change the visibility for that object if you wish. If you don’t wish to keep the visibility from your source environment, you must execute the
--keep_visibility no command when you open open a new change session.
open --source name_of_source_env --target name_of_target env --keep_visibility no
Note: If you execute the following command without specifying yes or no, the visibility from your source environment will be kept by default.