Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: 403 returned when console can't be stolen
......................................................................
restapi: 403 returned when console can't be stolen
HTTP status code changed from 500 to 403 when user asks for vv file and
the console is already assigned to other user and user don't have
sufficient permissions to steal the console.
The reason is to indicate that it's not a server problem but rather
permission/state issue.
Change-Id: I72a9c9e0e84f8ca5253eb09cb447b88a4f55d4ce
Bug-Url:
https://bugzilla.redhat.com/1305600
Signed-off-by: Jakub Niedermertl <jniederm(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmGraphicsConsoleResource.java
1 file changed, 11 insertions(+), 2 deletions(-)
Approvals:
Jakub Niedermertl: Verified
Juan Hernandez: Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/59396
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I72a9c9e0e84f8ca5253eb09cb447b88a4f55d4ce
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Jakub Niedermertl <jniederm(a)redhat.com>
Gerrit-Reviewer: Jakub Niedermertl <jniederm(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>