Michael Pasternak has submitted this change and it was merged.

Change subject: restapi : if "filter: ..." header is set, use query instead of 
search to list items
......................................................................


restapi : if "filter: ..." header is set, use query instead of search to list 
items

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.

This patch fixes /events/{id}

Change-Id: Ia2ab0e1e62b9cc67fad51da5e5e0b2c1163087a6
Bug-Url: https://bugzilla.redhat.com/869334
Signed-off-by: Ravi Nori <[email protected]>
---
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendEventsResource.java
1 file changed, 6 insertions(+), 6 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia2ab0e1e62b9cc67fad51da5e5e0b2c1163087a6
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to