Skip to content

Commit

Permalink
Merge pull request #22 from williamnswanson/INF-1060.project-map-quic…
Browse files Browse the repository at this point in the history
…k-fix

Temporary fix for project_usermap ex-members (INF-1060)
  • Loading branch information
brianhlin authored Dec 8, 2023
2 parents a371efc + 4fd67d9 commit 0a263e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osg-comanage-project-usermap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0a263e3

Please sign in to comment.