diff --git a/CHANGES.rst b/CHANGES.rst index e1a5bab0a1..ad9aaf0308 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -30,6 +30,7 @@ Changelog **Fixed** +- #1447 New Client contact has access to last client's Sample only - #1446 Parameter `group` in `contact._addUserToGroup` was not considered - #1444 Fixed Worksheet autofill of wide Iterims - #1443 Fix non-saving checkbox values for manual Interims in Analysis Services diff --git a/bika/lims/content/contact.py b/bika/lims/content/contact.py index 96d7620331..083ec98348 100644 --- a/bika/lims/content/contact.py +++ b/bika/lims/content/contact.py @@ -329,8 +329,8 @@ def _recursive_reindex_object_security(self, obj): """Reindex object security after user linking """ if hasattr(aq_base(obj), "objectValues"): - for obj in obj.objectValues(): - self._recursive_reindex_object_security(obj) + for child_obj in obj.objectValues(): + self._recursive_reindex_object_security(child_obj) logger.debug("Reindexing object security for {}".format(repr(obj))) obj.reindexObjectSecurity()