Skip to content

Commit 8c9a033

Browse files
committed
Filter out non-active users
1 parent c340729 commit 8c9a033

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

osg-comanage-project-usermap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ def get_osguser_groups(filter_group_name=None):
212212
user: [g for g in groups if g in project_names]
213213
for user, groups in ldap_users.items()
214214
if any(g in project_names for g in groups)
215+
and any(':members:active' in g for g in groups)
215216
}
216217

217218

0 commit comments

Comments
 (0)