mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Added command to transfer secondary calendar ownership. #1927
This commit is contained in:
@@ -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`
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user