Bug fixes: whatis, print shareddriveorganizers

This commit is contained in:
Ross Scroggs
2025-06-11 17:35:50 -07:00
parent c49708cbae
commit 474aa069b7
2 changed files with 7 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
Fixed bug in `gam whatis <EmailItem>` where the check for an invitable user always failed.
Fixed bug in `gam print shareddriveorganizers` where no organizers were displayed when `domain` in `gam.cfg` was blank.
7.09.03
Updated `gam <UserTypeEntity> create focustime|outofoffice ... timerange <Time> <Time>` to check

View File

@@ -66178,7 +66178,11 @@ def printSharedDriveOrganizers(users, useDomainAdminAccess=False):
showNoOrganizerDrives = SHOW_NO_PERMISSIONS_DRIVES_CHOICE_MAP['false']
fieldsList = ['role', 'type', 'emailAddress']
cd = entityList = orgUnitId = query = matchPattern = None
domainList = [GC.Values[GC.DOMAIN]]
domainList = set()
if GC.Values[GC.DOMAIN]:
domainList.add(GC.Values[GC.DOMAIN])
else:
domainList.add(GM.Globals[GM.DECODED_ID_TOKEN].get('hd', 'UNKNOWN').lower())
oneOrganizer = True
while Cmd.ArgumentsRemaining():
myarg = getArgument()