mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-06 12:43:35 +00:00
Fixed bug in gam <UserTypeEntity> print filelist ... allfields
that caused a trap
This commit is contained in:
@ -6284,6 +6284,7 @@ gam <UserTypeEntity> collect orphans
|
||||
canaddfolderfromanotherdrive|
|
||||
canaddmydriveparent|
|
||||
canchangecopyrequireswriterpermission|
|
||||
canchangecopyrequireswriterpermissionrestriction|
|
||||
canchangedomainusersonlyrestriction|
|
||||
canchangedrivebackground|
|
||||
canchangedrivemembersonlyrestriction|
|
||||
@ -6301,11 +6302,14 @@ gam <UserTypeEntity> collect orphans
|
||||
canmanagemembers|
|
||||
canmodifycontent|
|
||||
canmodifycontentrestriction|
|
||||
canmodifyeditorcontentrestriction|
|
||||
canmodifylabels|
|
||||
canmodifyownercontentrestriction|
|
||||
canmovechildrenoutofdrive|
|
||||
canmovechildrenoutofteamdrive|
|
||||
canmovechildrenwithindrive|
|
||||
canmovechildrenwithinteamdrive|
|
||||
canmoveitemintodrive|
|
||||
canmoveitemintoteamdrive|
|
||||
canmoveitemoutofdrive|
|
||||
canmoveitemoutofteamdrive|
|
||||
@ -6317,6 +6321,7 @@ gam <UserTypeEntity> collect orphans
|
||||
canreadrevisions|
|
||||
canreadteamdrive|
|
||||
canremovechildren|
|
||||
canremovecontentrestriction|
|
||||
canremovemydriveparent|
|
||||
canrename|
|
||||
canrenamedrive|
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
Merged GAM-Team version
|
||||
|
||||
6.66.09
|
||||
|
||||
Fixed bug in `gam <UserTypeEntity> print filelist ... allfields` that caused a trap
|
||||
when `gam.cfg` contained `drive_v3_native_names = False`.
|
||||
|
||||
6.66.08
|
||||
|
||||
Added additional columns `isBase` and `baseId` to `gam <UserTypeEntity> print fileparenttree`
|
||||
|
@ -7695,7 +7695,6 @@ class CSVPrintFile():
|
||||
|
||||
def MapDrive3TitlesToDrive2(self):
|
||||
_mapDrive3TitlesToDrive2(self.titlesList, API.DRIVE3_TO_DRIVE2_FILES_FIELDS_MAP)
|
||||
_mapDrive3TitlesToDrive2(self.titlesList, API.DRIVE3_TO_DRIVE2_CAPABILITIES_TITLES_MAP)
|
||||
self.titlesSet = set(self.titlesList)
|
||||
|
||||
def AddJSONTitle(self, title):
|
||||
@ -50979,6 +50978,7 @@ DRIVE_CAPABILITIES_SUBFIELDS_CHOICE_MAP = {
|
||||
'canaddfolderfromanotherdrive': 'canAddFolderFromAnotherDrive',
|
||||
'canaddmydriveparent': 'canAddMyDriveParent',
|
||||
'canchangecopyrequireswriterpermission': 'canChangeCopyRequiresWriterPermission',
|
||||
'canchangecopyrequireswriterpermissionrestriction': 'canChangeCopyRequiresWriterPermissionRestriction',
|
||||
'canchangedomainusersonlyrestriction': 'canChangeDomainUsersOnlyRestriction',
|
||||
'canchangedrivebackground': 'canChangeDriveBackground',
|
||||
'canchangedrivemembersonlyrestriction': 'canChangeDriveMembersOnlyRestriction',
|
||||
@ -50996,22 +50996,26 @@ DRIVE_CAPABILITIES_SUBFIELDS_CHOICE_MAP = {
|
||||
'canmanagemembers': 'canManageMembers',
|
||||
'canmodifycontent': 'canModifyContent',
|
||||
'canmodifycontentrestriction': 'canModifyContentRestriction',
|
||||
'canmodifyeditorcontentrestriction': 'canModifyEditorContentRestriction',
|
||||
'canmodifylabels': 'canModifyLabels',
|
||||
'canmodifyownercontentrestriction': 'canModifyOwnerContentRestriction',
|
||||
'canmovechildrenoutofdrive': 'canMoveChildrenOutOfDrive',
|
||||
'canmovechildrenoutofteamdrive': 'canMoveChildrenOutOfDrive',
|
||||
'canmovechildrenwithindrive': 'canMoveChildrenWithinDrive',
|
||||
'canmovechildrenwithinteamdrive': 'canMoveChildrenWithinDrive',
|
||||
'canmoveitemintoteamdrive': 'canMoveItemOutOfDrive',
|
||||
'canmoveitemintodrive': 'canMoveItemIntoDrive',
|
||||
'canmoveitemintoteamdrive': 'canMoveItemIntoDrive',
|
||||
'canmoveitemoutofdrive': 'canMoveItemOutOfDrive',
|
||||
'canmoveitemoutofteamdrive': 'canMoveItemOutOfDrive',
|
||||
'canmoveitemwithindrive': 'canMoveItemWithinDrive',
|
||||
'canmoveitemwithinteamdrive': 'canMoveItemWithinDrive',
|
||||
'canmoveteamdriveitem': ['canMoveItemOutOfDrive', 'canMoveItemWithinDrive'],
|
||||
'canmoveteamdriveitem': 'canMoveTeamDriveItem',
|
||||
'canreaddrive': 'canReadDrive',
|
||||
'canreadlabels': 'canReadLabels',
|
||||
'canreadrevisions': 'canReadRevisions',
|
||||
'canreadteamdrive': 'canReadDrive',
|
||||
'canremovechildren': 'canRemoveChildren',
|
||||
'canremovecontentrestriction': 'canRemoveContentRestriction',
|
||||
'canremovemydriveparent': 'canRemoveMyDriveParent',
|
||||
'canrename': 'canRename',
|
||||
'canrenamedrive': 'canRenameDrive',
|
||||
|
@ -691,14 +691,6 @@ DRIVE3_TO_DRIVE2_CAPABILITIES_NAMES_MAP = {
|
||||
'canChangeViewersCanCopyContent': 'canChangeRestrictedDownload',
|
||||
}
|
||||
|
||||
DRIVE3_TO_DRIVE2_CAPABILITIES_TITLES_MAP = {
|
||||
'capabilities.canComment': 'canComment',
|
||||
'capabilities.canReadRevisions': 'canReadRevisions',
|
||||
'capabilities.canCopy': 'copyable',
|
||||
'capabilities.canEdit': 'editable',
|
||||
'capabilities.canShare': 'shareable',
|
||||
}
|
||||
|
||||
DRIVE3_TO_DRIVE2_FILES_FIELDS_MAP = {
|
||||
'allowFileDiscovery': 'withLink',
|
||||
'createdTime': 'createdDate',
|
||||
|
Reference in New Issue
Block a user