def handle(self, request, data):
    project = self._update_project(request, data)
    if (not project):
        return False
    project_id = data['project_id']
    domain_id = getattr(project, 'domain_id', '')
    ret = self._update_project_members(request, data, project_id)
    if (not ret):
        return False
    ret = self._update_project_groups(request, data, project_id, domain_id)
    if (not ret):
        return False
    return True
def handle(self, request, data):
    project = self._update_project(request, data)
    if (not project):
        return False
    project_id = data['project_id']
    domain_id = getattr(project, 'domain_id', )
    ret = self._update_project_members(request, data, project_id)
    if (not ret):
        return False
    ret = self._update_project_groups(request, data, project_id, domain_id)
    if (not ret):
        return False
    return True