Allon Mureinik has uploaded a new change for review.

Change subject: core: Filter GetVmTemplatesWithPermittedActionQuery
......................................................................

core: Filter GetVmTemplatesWithPermittedActionQuery

Define the query as a user query so it could be called in the User
Portal.

The query was refactored to use the user stored in the query, which
is initiallized from SessionDataContainer in the ctor instead of
calling it again.

A test was written to formally prove that the behavior was not
changed (except for the definition as a user query).

Change-Id: I124d35f58895b423c4b620e3aee053ae82cebda6
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetVmTemplatesWithPermittedActionQuery.java
A 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetVmTemplatesWithPermittedActionQueryTest.java
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
3 files changed, 43 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/49/2249/1
--
To view, visit http://gerrit.ovirt.org/2249
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I124d35f58895b423c4b620e3aee053ae82cebda6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to