Change in ovirt-engine[ovirt-engine-3.5]: aaa: Fix search to search properly for users by groups

oourfali at redhat.com oourfali at redhat.com
Wed Sep 10 08:17:12 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: aaa: Fix search to search properly for users by groups
......................................................................


aaa: Fix search to search properly for users by groups

Instead of ilike 'group%' which is problematic in case the
user is member of multiple groups , the pattern matching
operator is used with a proper expression to replace the %
wildcard.

Topic: AAA
Bug-Url: https://bugzilla.redhat.com/1120720
Change-Id: I14e795926cb57de15b628587d5c3df427518720a
Signed-off-by: Yair Zaslavsky <yzaslavs at redhat.com>
---
M backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/BaseConditionFieldAutoCompleter.java
M backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/IConditionFieldAutoCompleter.java
M backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/SyntaxChecker.java
M backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/VdcUserConditionFieldAutoCompleter.java
4 files changed, 24 insertions(+), 3 deletions(-)

Approvals:
  Oved Ourfali: Looks good to me, approved
  Yair Zaslavsky: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I14e795926cb57de15b628587d5c3df427518720a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list