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|
|
canaddfolderfromanotherdrive|
|
||||||
canaddmydriveparent|
|
canaddmydriveparent|
|
||||||
canchangecopyrequireswriterpermission|
|
canchangecopyrequireswriterpermission|
|
||||||
|
canchangecopyrequireswriterpermissionrestriction|
|
||||||
canchangedomainusersonlyrestriction|
|
canchangedomainusersonlyrestriction|
|
||||||
canchangedrivebackground|
|
canchangedrivebackground|
|
||||||
canchangedrivemembersonlyrestriction|
|
canchangedrivemembersonlyrestriction|
|
||||||
@ -6301,11 +6302,14 @@ gam <UserTypeEntity> collect orphans
|
|||||||
canmanagemembers|
|
canmanagemembers|
|
||||||
canmodifycontent|
|
canmodifycontent|
|
||||||
canmodifycontentrestriction|
|
canmodifycontentrestriction|
|
||||||
|
canmodifyeditorcontentrestriction|
|
||||||
canmodifylabels|
|
canmodifylabels|
|
||||||
|
canmodifyownercontentrestriction|
|
||||||
canmovechildrenoutofdrive|
|
canmovechildrenoutofdrive|
|
||||||
canmovechildrenoutofteamdrive|
|
canmovechildrenoutofteamdrive|
|
||||||
canmovechildrenwithindrive|
|
canmovechildrenwithindrive|
|
||||||
canmovechildrenwithinteamdrive|
|
canmovechildrenwithinteamdrive|
|
||||||
|
canmoveitemintodrive|
|
||||||
canmoveitemintoteamdrive|
|
canmoveitemintoteamdrive|
|
||||||
canmoveitemoutofdrive|
|
canmoveitemoutofdrive|
|
||||||
canmoveitemoutofteamdrive|
|
canmoveitemoutofteamdrive|
|
||||||
@ -6317,6 +6321,7 @@ gam <UserTypeEntity> collect orphans
|
|||||||
canreadrevisions|
|
canreadrevisions|
|
||||||
canreadteamdrive|
|
canreadteamdrive|
|
||||||
canremovechildren|
|
canremovechildren|
|
||||||
|
canremovecontentrestriction|
|
||||||
canremovemydriveparent|
|
canremovemydriveparent|
|
||||||
canrename|
|
canrename|
|
||||||
canrenamedrive|
|
canrenamedrive|
|
||||||
|
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
Merged GAM-Team version
|
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
|
6.66.08
|
||||||
|
|
||||||
Added additional columns `isBase` and `baseId` to `gam <UserTypeEntity> print fileparenttree`
|
Added additional columns `isBase` and `baseId` to `gam <UserTypeEntity> print fileparenttree`
|
||||||
|
@ -7695,7 +7695,6 @@ class CSVPrintFile():
|
|||||||
|
|
||||||
def MapDrive3TitlesToDrive2(self):
|
def MapDrive3TitlesToDrive2(self):
|
||||||
_mapDrive3TitlesToDrive2(self.titlesList, API.DRIVE3_TO_DRIVE2_FILES_FIELDS_MAP)
|
_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)
|
self.titlesSet = set(self.titlesList)
|
||||||
|
|
||||||
def AddJSONTitle(self, title):
|
def AddJSONTitle(self, title):
|
||||||
@ -50979,6 +50978,7 @@ DRIVE_CAPABILITIES_SUBFIELDS_CHOICE_MAP = {
|
|||||||
'canaddfolderfromanotherdrive': 'canAddFolderFromAnotherDrive',
|
'canaddfolderfromanotherdrive': 'canAddFolderFromAnotherDrive',
|
||||||
'canaddmydriveparent': 'canAddMyDriveParent',
|
'canaddmydriveparent': 'canAddMyDriveParent',
|
||||||
'canchangecopyrequireswriterpermission': 'canChangeCopyRequiresWriterPermission',
|
'canchangecopyrequireswriterpermission': 'canChangeCopyRequiresWriterPermission',
|
||||||
|
'canchangecopyrequireswriterpermissionrestriction': 'canChangeCopyRequiresWriterPermissionRestriction',
|
||||||
'canchangedomainusersonlyrestriction': 'canChangeDomainUsersOnlyRestriction',
|
'canchangedomainusersonlyrestriction': 'canChangeDomainUsersOnlyRestriction',
|
||||||
'canchangedrivebackground': 'canChangeDriveBackground',
|
'canchangedrivebackground': 'canChangeDriveBackground',
|
||||||
'canchangedrivemembersonlyrestriction': 'canChangeDriveMembersOnlyRestriction',
|
'canchangedrivemembersonlyrestriction': 'canChangeDriveMembersOnlyRestriction',
|
||||||
@ -50996,22 +50996,26 @@ DRIVE_CAPABILITIES_SUBFIELDS_CHOICE_MAP = {
|
|||||||
'canmanagemembers': 'canManageMembers',
|
'canmanagemembers': 'canManageMembers',
|
||||||
'canmodifycontent': 'canModifyContent',
|
'canmodifycontent': 'canModifyContent',
|
||||||
'canmodifycontentrestriction': 'canModifyContentRestriction',
|
'canmodifycontentrestriction': 'canModifyContentRestriction',
|
||||||
|
'canmodifyeditorcontentrestriction': 'canModifyEditorContentRestriction',
|
||||||
'canmodifylabels': 'canModifyLabels',
|
'canmodifylabels': 'canModifyLabels',
|
||||||
|
'canmodifyownercontentrestriction': 'canModifyOwnerContentRestriction',
|
||||||
'canmovechildrenoutofdrive': 'canMoveChildrenOutOfDrive',
|
'canmovechildrenoutofdrive': 'canMoveChildrenOutOfDrive',
|
||||||
'canmovechildrenoutofteamdrive': 'canMoveChildrenOutOfDrive',
|
'canmovechildrenoutofteamdrive': 'canMoveChildrenOutOfDrive',
|
||||||
'canmovechildrenwithindrive': 'canMoveChildrenWithinDrive',
|
'canmovechildrenwithindrive': 'canMoveChildrenWithinDrive',
|
||||||
'canmovechildrenwithinteamdrive': 'canMoveChildrenWithinDrive',
|
'canmovechildrenwithinteamdrive': 'canMoveChildrenWithinDrive',
|
||||||
'canmoveitemintoteamdrive': 'canMoveItemOutOfDrive',
|
'canmoveitemintodrive': 'canMoveItemIntoDrive',
|
||||||
|
'canmoveitemintoteamdrive': 'canMoveItemIntoDrive',
|
||||||
'canmoveitemoutofdrive': 'canMoveItemOutOfDrive',
|
'canmoveitemoutofdrive': 'canMoveItemOutOfDrive',
|
||||||
'canmoveitemoutofteamdrive': 'canMoveItemOutOfDrive',
|
'canmoveitemoutofteamdrive': 'canMoveItemOutOfDrive',
|
||||||
'canmoveitemwithindrive': 'canMoveItemWithinDrive',
|
'canmoveitemwithindrive': 'canMoveItemWithinDrive',
|
||||||
'canmoveitemwithinteamdrive': 'canMoveItemWithinDrive',
|
'canmoveitemwithinteamdrive': 'canMoveItemWithinDrive',
|
||||||
'canmoveteamdriveitem': ['canMoveItemOutOfDrive', 'canMoveItemWithinDrive'],
|
'canmoveteamdriveitem': 'canMoveTeamDriveItem',
|
||||||
'canreaddrive': 'canReadDrive',
|
'canreaddrive': 'canReadDrive',
|
||||||
'canreadlabels': 'canReadLabels',
|
'canreadlabels': 'canReadLabels',
|
||||||
'canreadrevisions': 'canReadRevisions',
|
'canreadrevisions': 'canReadRevisions',
|
||||||
'canreadteamdrive': 'canReadDrive',
|
'canreadteamdrive': 'canReadDrive',
|
||||||
'canremovechildren': 'canRemoveChildren',
|
'canremovechildren': 'canRemoveChildren',
|
||||||
|
'canremovecontentrestriction': 'canRemoveContentRestriction',
|
||||||
'canremovemydriveparent': 'canRemoveMyDriveParent',
|
'canremovemydriveparent': 'canRemoveMyDriveParent',
|
||||||
'canrename': 'canRename',
|
'canrename': 'canRename',
|
||||||
'canrenamedrive': 'canRenameDrive',
|
'canrenamedrive': 'canRenameDrive',
|
||||||
|
@ -691,14 +691,6 @@ DRIVE3_TO_DRIVE2_CAPABILITIES_NAMES_MAP = {
|
|||||||
'canChangeViewersCanCopyContent': 'canChangeRestrictedDownload',
|
'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 = {
|
DRIVE3_TO_DRIVE2_FILES_FIELDS_MAP = {
|
||||||
'allowFileDiscovery': 'withLink',
|
'allowFileDiscovery': 'withLink',
|
||||||
'createdTime': 'createdDate',
|
'createdTime': 'createdDate',
|
||||||
|
Reference in New Issue
Block a user