From 99e0f8a12f50a30408c4e2613b6f9b32fcfa174a Mon Sep 17 00:00:00 2001 From: Ayrris Aunario Date: Thu, 14 Mar 2024 11:32:37 -0500 Subject: [PATCH] `compliance stats` / `compliance rar` missing team-shared records bug-fix (KC-758) --- keepercommander/sox/sox_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keepercommander/sox/sox_data.py b/keepercommander/sox/sox_data.py index 4065cd48f..26483c85a 100644 --- a/keepercommander/sox/sox_data.py +++ b/keepercommander/sox/sox_data.py @@ -104,7 +104,7 @@ def get_vault_records(self, user_ref): # Get SF-shared records # Shared to team - user_teams = {t for tuid, t in self._teams.items() if user_id in t.users} + user_teams = {tuid for tuid, t in self._teams.items() if user_id in t.users} team_sf_uids = {sfuid for sfuid, sf in self._shared_folders.items() if sf.teams.intersection(user_teams)} # Shared to user user_sf_uids = {sfuid for sfuid, sf in self._shared_folders.items() if user_id in sf.users}