Change in ovirt-engine[ovirt-engine-3.5]: restapi: Fix access to current user
piotr.kliczewski at gmail.com
piotr.kliczewski at gmail.com
Fri Jul 18 12:13:02 UTC 2014
Piotr Kliczewski has submitted this change and it was merged.
Change subject: restapi: Fix access to current user
......................................................................
restapi: Fix access to current user
The code that extracts the current user from the backend stores
VdcQueryReturnValue instead of the DbUser it contains. As a result
several places where the user is needed fail with a NPE, as no object is
found assciated to the DbUser class.
Change-Id: I2dae86a0ab152df2971f55d663cf44f4d239f5e9
Bug-Url: https://bugzilla.redhat.com/1119862
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit c5413a3fc8748d1a260a06a013bf5279799b25e4)
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/security/auth/SessionProcessor.java
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/30252
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2dae86a0ab152df2971f55d663cf44f4d239f5e9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list