Red Hat Bugzilla – Bug 823788
the search function doesn's return right results
Last modified: 2014-10-12 18:48:17 EDT
Description of problem:
The advanced search function in bz 4.2 doesn't return right results as it did in previous version. Therefore, some existing saved queries don't work on current bz.
Steps to Reproduce:
1.take https://bugzilla.redhat.com/show_bug.cgi?id=823092 as an example, it has "needinfo? (hwcert-reviewers)" flag set and user who is in one of the following groups - amd, dell,hp, Red Hat Employee, etc can access this bug
2. Log in bz as a user who is in "Red Hat Employee" group but not in any vendor groups (like amd, dell, hp, etc)
3.Use advance search page to search bug with needinfo flag set to "hwcert-reviewers"
the bug #823092 doesn't in the result list
the bug #823092 should be in the result list
It seems to me that the "OR group" function doesn't work for search function in new bz. When deciding a user's permission to access a bug, it checks if the user is in ANY of the pre-selected groups. While when deciding a user's permission to search a bug, it checks if the user is in ALL of the pre-selected groups.
Good spotting on this one Tony. That was a major issue. It will be fixed in the next release.
This change is now live.