From a7097a73107b1618a5cfbd603a697f7127a25b3d Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Wed, 23 Aug 2023 15:43:43 -0700 Subject: [PATCH] Added option `ignorerole` to `gam update groups|cigroups sync [|ignorerole] ... ` --- docs/Cloud-Identity-Groups-Membership.md | 8 ++- docs/GamUpdates.md | 6 +++ docs/Groups-Membership.md | 8 ++- docs/How-to-Upgrade-from-Standard-GAM.md | 4 +- docs/Version-and-Help.md | 12 ++--- docs/_Sidebar.md | 1 + src/GamCommands.txt | 4 +- src/GamUpdate.txt | 6 +++ src/gam/__init__.py | 65 ++++++++++++++---------- 9 files changed, 73 insertions(+), 41 deletions(-) diff --git a/docs/Cloud-Identity-Groups-Membership.md b/docs/Cloud-Identity-Groups-Membership.md index 628735bc..e28c77dd 100644 --- a/docs/Cloud-Identity-Groups-Membership.md +++ b/docs/Cloud-Identity-Groups-Membership.md @@ -178,14 +178,18 @@ testgroup@domain.com,testuser4@domain.com,MEMBER,Remove Failed,Does not exist ## Synchronize members in a group A synchronize operation gets the current membership for a group and does adds and deletes as necessary to make it match ``. +This is done by specific role except for a special case where role is ignored. ``` -gam update cigroups sync [] +gam update cigroups sync [|ignorerole] [usersonly|groupsonly] [addonly|removeonly] [notsuspended|suspended] [notarchived|archived] [expire|expires