Fixed bug in gam print shareddriveorganizers that caused a trap when an organizer was a deleted user.

This commit is contained in:
Ross Scroggs
2025-06-05 08:11:34 -07:00
parent fccf6c1278
commit f418287e65
2 changed files with 7 additions and 10 deletions

View File

@@ -2,12 +2,13 @@
Removed the overly broad service account `IAM and Access Management API` scope `https://www.googleapis.com/auth/cloud-platform`
from DWD. The `gam <UserTypeEntity> check|Update serviceaccount` commands issue an error message if this scope
is enabled promptig you to update your service account authorization so that the scope can be removed.
is enabled prompting you to update your service account authorization so that the scope can be removed.
GAM commands that need IAM access now use the more limited scope `https://www.googleapis.com/auth/iam` in a non-DWD manner.
Added `enforce_expansive_access` Boolean variable to `gam.cfg` that provides the default value
for option `enforceexpansiveaccess` in all commands that delete or update drive file ACLs/permissions.
It's default value is False.
```
gam <UserTypeEntity> delete permissions
gam <UserTypeEntity> delete drivefileacl
@@ -19,6 +20,8 @@ gam <UserTypeEntity> claim ownership
gam <UserTypeEntity> transfer drive
```
Fixed bug in `gam print shareddriveorganizers` that caused a trap when an organizer was a deleted user.
Updated to Python 3.13.4
7.08.02