Change in ovirt-engine[engine_3.1]: restapi: if filter: header is set, use query instead of sear...

mpastern at redhat.com mpastern at redhat.com
Wed Feb 20 08:50:48 UTC 2013


Michael Pasternak has submitted this change and it was merged.

Change subject: restapi: if filter: header is set, use query instead of search (#882946)
......................................................................


restapi: if filter: header is set, use query instead of search (#882946)

When the filter option is specified the api query should not
throw a insufficient permissions exception. Instead the query should
return a list of objects that the user has permissions for.

Change-Id: I00eeb96515cb50431f73f8fc66d2730b143f14af
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=882946
Signed-off-by: Ravi Nori <rnori at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolsResource.java
1 file changed, 12 insertions(+), 1 deletion(-)

Approvals:
  Michael Pasternak: Verified; Looks good to me, approved
  Ravi Nori: Verified


--
To view, visit http://gerrit.ovirt.org/12088
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I00eeb96515cb50431f73f8fc66d2730b143f14af
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: engine_3.1
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>



More information about the Engine-commits mailing list