Skip to content

Commit

Permalink
RANGER-4422: Searching for users/groups with Sync source filter on th…
Browse files Browse the repository at this point in the history
…e users/groups page leads to error on Oracle DB

Change-Id: I4e464eb85019dcd80ef86a35bb6916c8592368ff
  • Loading branch information
pradeepagrawal8184 committed Sep 22, 2023
1 parent 9ad41a7 commit 58173c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public XGroupService() {
"XXGroupUser groupUser", "obj.id = groupUser.parentGroupId"));

searchFields.add(new SearchField("syncSource", "obj.syncSource",
SearchField.DATA_TYPE.STRING, SearchField.SEARCH_TYPE.FULL));
SearchField.DATA_TYPE.STRING, SearchField.SEARCH_TYPE.PARTIAL));

createdByUserId = PropertiesUtil.getLongProperty("ranger.xuser.createdByUserId", 1);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public XUserService() {
"xXPortalUser.id=xXPortalUserRole.userId and xXPortalUser.loginId = obj.name "));

searchFields.add(new SearchField("syncSource", "obj.syncSource",
SearchField.DATA_TYPE.STRING, SearchField.SEARCH_TYPE.FULL));
SearchField.DATA_TYPE.STRING, SearchField.SEARCH_TYPE.PARTIAL));

createdByUserId = PropertiesUtil.getLongProperty("ranger.xuser.createdByUserId", 1);

Expand Down

0 comments on commit 58173c8

Please sign in to comment.