Updated gam print|show ownership to show the correct file owner when the most recent event is change_owner.

This commit is contained in:
Ross Scroggs
2023-09-20 15:24:20 -07:00
parent 38c78228aa
commit 115dde8c2f
6 changed files with 22 additions and 12 deletions

View File

@@ -2,6 +2,10 @@
Merged GAM-Team version
6.63.18
Updated `gam print|show ownership` to show the correct file owner when the most recent event is `change_owner`.
6.63.17
Added support for Duet AI license.

View File

@@ -59885,7 +59885,9 @@ def doPrintShowOwnership():
if item['value'] in foundIds:
break
fileInfo['id'] = item['value']
elif item['name'] == 'owner':
elif event['name'] == 'change_owner' and item['name'] == 'new_owner':
fileInfo['Owner'] = item['value']
elif event['name'] != 'change_owner' and item['name'] == 'owner':
fileInfo['Owner'] = item['value']
elif item['name'] == 'doc_title':
fileInfo[fileNameTitle] = item['value']