def _delLocalOwnerRole(self, username):
        """Remove local owner role from parent object
        """
        parent = self.getParent()
        if parent.portal_type == "Client":
            parent.manage_delLocalRoles([username])
            # reindex object security
            self._recursive_reindex_object_security(parent)
def _delLocalOwnerRole ( self , username ) : parent = self . getParent ( ) if parent . portal_type == "Client" : parent . manage_delLocalRoles ( [ username ] ) self . _recursive_reindex_object_security ( parent )
Remove local owner role from parent object