Deployment Manager (DM) Target Owner Is Not Changed

Deployment Manager (DM) Target Owner Is Not Changed

book

Article ID: KB0082833

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All Versions

Description

Problem
When you migrate the resource with the use of DM and select the Target Default Owner as a different or new owner in the plan, then the resource owner is not updated or changed in the target environment after migration. It still shows the old owner for the resource as it did in the source environment, if the new owner is already present in target environment.
 

Issue/Introduction

This document describes the solution to the problem that occurs when the Deployment Manager (DM) Target Owner is not changed.

Resolution

Root Cause
 When sourceuser already exists in target, the owner of the resource is not modified after migration with the use of DM. It's intended behavior. Target default owner is used for when the source owner doesn't existed in the target site. If requirement is to change the owner, then use principal mapping for it.
 
Solution
 Follow these steps as example: 
  1. Create a user called test in both source and target.
  2. Create a user called test1 in target.
  3. In source, user test creates a view.
  4. In DM, add the view to resource bundle.
  5. In principal mapping tab, do the mapping (in target value field) as: /composite/user/test1 for source principle /composite/user/test.
  6. Create a plan with target location as /shared, target default owner as test1.
  7. Execute plan.
  8. Check the resource privilege in target. Owner should have changed to test1.