code: def _addLocalOwnerRole(self, username):
          
          parent = self.getParent()
          if parent.portal_type == "Client":
              parent.manage_setLocalRoles(username, ["Owner", ])
              # reindex object security
              self._recursive_reindex_object_security(parent)
docs: Add local owner role from parent object