From 4058399672f9999038bb34b0cc03033e7dae1271 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Wed, 26 Nov 2025 11:40:54 -0800 Subject: [PATCH] Added option `oneitemperrow` to `gam print calendars ... permissions` --- wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md | 4 ++-- wiki/Users-Calendars.md | 5 +++-- wiki/Using-GAM7-with-a-YubiKey.md | 2 +- wiki/Version-and-Help.md | 12 ++++++------ 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md index eea94c9d..c153f57f 100644 --- a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md +++ b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md @@ -252,7 +252,7 @@ writes the credentials into the file oauth2.txt. admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin$ gam version WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found -GAM 7.29.00 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.29.01 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.0 64-bit final macOS Tahoe 26.1 x86_64 @@ -990,7 +990,7 @@ writes the credentials into the file oauth2.txt. C:\>del C:\GAMConfig\oauth2.txt C:\>gam version WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found -GAM 7.29.00 - https://github.com/GAM-team/GAM - pythonsource +GAM 7.29.01 - https://github.com/GAM-team/GAM - pythonsource GAM Team Python 3.14.0 64-bit final Windows 11 10.0.26200 AMD64 diff --git a/wiki/Users-Calendars.md b/wiki/Users-Calendars.md index d4122b2e..d0ae2712 100644 --- a/wiki/Users-Calendars.md +++ b/wiki/Users-Calendars.md @@ -288,11 +288,10 @@ By default, Gam displays the information as an indented list of keys and values. gam print calendars [todrive *] [primary] * [noprimary] [nogroups] [noresources] [nosystem] [nousers] - [fields ] [permissions] + [fields ] [permissions] [oneitemperrow] [formatjson] [delimiter ] [quotechar ] ``` By default, information for all visible, non-deleted calendars is shown. -* `permissions` adds permission information for user owned calendars to the output. * `primary` - Limits the selection to the user's primary calendar * `` * `minaccessrole `- Limits the selection to those calendars where the user's role is at least `` @@ -303,6 +302,8 @@ By default, information for all visible, non-deleted calendars is shown. * `noresources` - Do not display resource calendars, email address ends in "@resource.calendar.google.com" * `nosystem` - Do not display system calendars, email address ends in "@group.v.calendar.google.com" * `nousers` - Do not display users calendars, email address ends in `domain` value from `gam.cfg`. +* `permissions` Adds permission information for user owned calendars to the output. +* `oneitemperrow` - Each permission is output on a separate row with all of the other calendar fields. By default, list items are separated by the `csv_output_field_delimiter' from `gam.cfg`. * `delimiter ` - Separate list items with `` diff --git a/wiki/Using-GAM7-with-a-YubiKey.md b/wiki/Using-GAM7-with-a-YubiKey.md index fee5d902..8ebcf975 100644 --- a/wiki/Using-GAM7-with-a-YubiKey.md +++ b/wiki/Using-GAM7-with-a-YubiKey.md @@ -42,7 +42,7 @@ When using domain-wide delegation with GAM7, the service account and anyone poss b. During the PIV reset, GAM7 will print out a PIN for the private key, record this key. -3. OR gf you are already using the YubiKey and wish to preserve the PIV app data and keys +3. OR if you are already using the YubiKey and wish to preserve the PIV app data and keys a. You need to configure one of the PIV slots for a private key GAM7 can use. * [ykman piv keys generate](https://docs.yubico.com/software/yubikey/tools/ykman/PIV_Commands.html#ykman-piv-keys-options-command-args) diff --git a/wiki/Version-and-Help.md b/wiki/Version-and-Help.md index 49e5209d..f44879c6 100644 --- a/wiki/Version-and-Help.md +++ b/wiki/Version-and-Help.md @@ -3,7 +3,7 @@ Print the current version of Gam with details ``` gam version -GAM 7.29.00 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.29.01 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.0 64-bit final macOS Tahoe 26.1 x86_64 @@ -15,7 +15,7 @@ Time: 2023-06-02T21:10:00-07:00 Print the current version of Gam with details and time offset information ``` gam version timeoffset -GAM 7.29.00 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.29.01 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.0 64-bit final macOS Tahoe 26.1 x86_64 @@ -27,7 +27,7 @@ Your system time differs from www.googleapis.com by less than 1 second Print the current version of Gam with extended details and SSL information ``` gam version extended -GAM 7.29.00 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.29.01 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.0 64-bit final macOS Tahoe 26.1 x86_64 @@ -68,7 +68,7 @@ MacOS High Sierra 10.13.6 x86_64 Path: /Users/Admin/bin/gam7 Version Check: Current: 5.35.08 - Latest: 7.29.00 + Latest: 7.29.01 echo $? 1 ``` @@ -76,7 +76,7 @@ echo $? Print the current version number without details ``` gam version simple -7.29.00 +7.29.01 ``` In Linux/MacOS you can do: ``` @@ -86,7 +86,7 @@ echo $VER Print the current version of Gam and address of this Wiki ``` gam help -GAM 7.29.00 - https://github.com/GAM-team/GAM +GAM 7.29.01 - https://github.com/GAM-team/GAM GAM Team Python 3.14.0 64-bit final macOS Tahoe 26.1 x86_64