Change in ovirt-engine[ovirt-engine-4.0]: restapi: 403 returned when console can't be stolen

Tal Nisan 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@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/59502 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I72a9c9e0e84f8ca5253eb09cb447b88a4f55d4ce Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-4.0 Gerrit-Owner: Jakub Niedermertl <jniederm@redhat.com> Gerrit-Reviewer: Jakub Niedermertl <jniederm@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
tnisan@redhat.com