Allow super admin to delete any shared drive (#1533)

This commit is contained in:
Ross Scroggs
2022-06-27 11:50:17 -07:00
committed by GitHub
parent 72ff9ff7e9
commit c6334d2bcd
2 changed files with 4 additions and 1 deletions

View File

@@ -8243,6 +8243,9 @@ def doDeleteSharedDrive(users):
allowItemDeletion = True
useDomainAdminAccess = True
i += 1
elif myarg == 'asadmin':
useDomainAdminAccess = True
i += 1
else:
controlflow.invalid_argument_exit(
myarg, 'gam delete shareddrive')