forked from 389ds/389-ds-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 6307 - Wrong set of entries returned for some search filters
Bug description: When the server returns an entry to a search it checks both access and matching of the filter. When evaluating a '!' (NOT) logical expression the server, in a first phase evaluates ONLY the right to access the related component (and its subcomponents). Then in a second phase verifies the matching. If the related component is a OR, in the first phase it evaluates access AND matching, this even if the call was to evaluate only access. This result in incoherent results. Fix description: Make sure that when the function vattr_test_filter_list_or is called to only check access, it does not evaluate the matching. fixes: 389ds#6307 Reviewed by: Pierre Rogier (Thanks !!)
- Loading branch information
Showing
2 changed files
with
127 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters