Added command to transfer secondary calendar ownership. #1927

This commit is contained in:
Ross Scroggs
2026-07-01 07:59:00 -07:00
parent 335d14137c
commit 38e33ba2f7
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
7.46.04
Added the following command to transfer secondary calendar ownership.
```
gam <CalendarEntity> transfer ownership <UserItem>
```
7.46.03
Updated all Vault related commands to handle the following error: `ERROR: 403: permissionDenied`

View File

@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
"""
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
__version__ = '7.46.03'
__version__ = '7.46.04'
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
# pylint: disable=wrong-import-position
@@ -55368,7 +55368,7 @@ def doCalendarsTransferOwnership(calIds):
throwReasons=[GAPI.NOT_FOUND, GAPI.INVALID, GAPI.INVALID_PARAMETER,
GAPI.FORBIDDEN, GAPI.AUTH_ERROR, GAPI.CONDITION_NOT_MET],
calendarId=calId, newDataOwner=newDataOwner, useAdminAccess=True)
entityPerformActionModifierNewValue([Ent.CALENDAR, calId], Act.MODIFIER_TO, newDataOwner, i, count)
entityModifierNewValueActionPerformed([Ent.CALENDAR, calId], Act.MODIFIER_TO, newDataOwner, i, count)
except (GAPI.notFound, GAPI.invalid, GAPI.invalidParameter,
GAPI.forbidden, GAPI.authError, GAPI.conditionNotMet) as e:
entityModifierNewValueActionFailedWarning([Ent.CALENDAR, calId], Act.MODIFIER_TO, newDataOwner, str(e), i, count)