From 4fd67d924efed7fce3d4959b70ee04bf4162fe96 Mon Sep 17 00:00:00 2001 From: William Swanson Date: Fri, 8 Dec 2023 16:19:23 -0600 Subject: [PATCH] Temporary fix for project_usermap ex-members --- osg-comanage-project-usermap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osg-comanage-project-usermap.py b/osg-comanage-project-usermap.py index 879a255..4c96979 100755 --- a/osg-comanage-project-usermap.py +++ b/osg-comanage-project-usermap.py @@ -153,7 +153,8 @@ def get_co_group_members__pids(gid): #print(f"get_co_group_members__pids({gid})") resp_data = get_co_group_members(gid) data = get_datalist(resp_data, "CoGroupMembers") - return [ m["Person"]["Id"] for m in data ] + # For INF-1060: Temporary Fix until "The Great Project Provisioning" is finished + return [ m["Person"]["Id"] for m in data if m["Member"] == True] def get_co_person_osguser(pid):