Esri-Private-Sector-SEs / gbd-migration

Migration project to consolidate various orgs within the Commercial GBD team.
0 stars 0 forks source link

Not all items in the origin are transferred to the transfer user #15

Closed JHendrickson4 closed 1 year ago

JHendrickson4 commented 1 year ago

this section does not seem to transfer all the participating items - it only transfers the item id specified in the global section.

missing switching the owner of maps, layers, etc.

reassign item to origin transfer user

if item_origin.owner != ORIGIN_TRANSFER_USER:
    item_origin.reassign_to(ORIGIN_TRANSFER_USER)
rfreedBusiness commented 1 year ago

I will add this functionality. Just need to add that code snippet to the transfer functions for each item type, not just the final transfer() function.

rfreedBusiness commented 1 year ago

Closing this issue as this functionality has been added.