Eli Mesika has posted comments on this change. Change subject: core[BLL]: Adding external status to command ......................................................................
Patch Set 3: (1 comment) https://gerrit.ovirt.org/#/c/40995/3/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddExternalEventCommand.java File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddExternalEventCommand.java: Line 73: public List<PermissionSubject> getPermissionCheckSubjects() { Line 74: List<PermissionSubject> permissionList = getPermissionList(getParameters().getEvent()); Line 75: // check for external host status modification Line 76: if (hasHostExternalStatus()) { Line 77: permissionList.add(new PermissionSubject(new Guid(getParameters().getEvent().getVdsId().toString()), > what is it required to instantiate the host id instead of reusing getParame Why should I , I am using it only once .... Line 78: VdcObjectType.VDS, ActionGroup.EDIT_HOST_CONFIGURATION)); Line 79: } Line 80: return permissionList; Line 81: } -- To view, visit https://gerrit.ovirt.org/40995 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I271aa3f841a3820482d89a1675e28dcb75540277 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Moti Asayag <masa...@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches