From ee68669652fb6311e64e2bf2307fdd1354c847d1 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Thu, 1 Feb 2024 15:40:18 -0800 Subject: [PATCH] Fixed bug in `gam print shareddrives` where `role` was improperly displayed as `unknown` --- docs/GamUpdates.md | 3 +++ src/gam/__init__.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/GamUpdates.md b/docs/GamUpdates.md index 4a635dec..0e88c36a 100644 --- a/docs/GamUpdates.md +++ b/docs/GamUpdates.md @@ -15,6 +15,9 @@ See [Downloads](https://github.com/taers232c/GAMADV-XTD3/wiki/Downloads) for Win Updated `` to allow multiple `tdshare commenter|reader|writer` options. +Fixed bug in `gam print shareddrives` where `role` was improperly displayed as `unknown` +rather than `reader` when `Allow viewers and commenters to download, print, and copy files` was unchecked for the Shared Drive. + ### 6.67.31 Updated `gam claim|transfer ownership ` to properly diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 1623bc88..8b0ac978 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -61836,7 +61836,7 @@ SHAREDDRIVE_ROLES_CAPABILITIES_MAP = { 'commenter': {'canComment': True, 'canEdit': False}, 'fileOrganizer': {'canAddChildren': True, 'canManageMembers': False}, 'organizer': {'canManageMembers': True}, - 'reader': {'canCopy': True, 'canComment': False}, + 'reader': {'canEdit': False, 'canComment': False}, 'writer': {'canEdit': True, 'canManageMembers': False}, }