mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
Allow super admin to delete any shared drive (#1533)
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user