Michael Pasternak has submitted this change and it was merged.
Change subject: restapi: Do not send ticket back in case of operation error
......................................................................
restapi: Do not send ticket back in case of operation error
Do not return a ticket using REST API if operation fails,
e.g. user doesn't have permission to VM
Change-Id: I8bc4d0c6ed48005978d333d28c7bec66d076c511
Bug-Url:
https://bugzilla.redhat.com/867920
Signed-off-by: Libor Spevak <lspevak(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmResource.java
1 file changed, 15 insertions(+), 5 deletions(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/9997
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8bc4d0c6ed48005978d333d28c7bec66d076c511
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Libor Spevak <lspevak(a)redhat.com>
Gerrit-Reviewer: Libor Spevak <lspevak(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>