diff --git a/src/GamCommands.txt b/src/GamCommands.txt index 05d34eec..f35415a2 100644 --- a/src/GamCommands.txt +++ b/src/GamCommands.txt @@ -1846,7 +1846,7 @@ gam update teamdrive |(name ) [asad [(theme|themeid ) | ([customtheme ] [color ])] ( )* [hidden ] -gam delete teamdrive |(name ) [allowitemdeletion|nukefromorbit] +gam delete teamdrive |(name ) [asadmin] [allowitemdeletion|nukefromorbit] gam show teamdriveinfo |(name ) [asadmin] gam show teamdrives [query ] [asadmin] gam print teamdrives [query ] [todrive] [asadmin] diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 1c187ce1..fc2b4c34 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -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')