Open
Bug 1220769
Opened 9 years ago
Product not visible in Advanced Search form
Categories
(Bugzilla :: Query/Bug List, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: alex, Unassigned)
Details
When using or_groups and configuring products as described in bug 1220125 comment 3, the product which a user may enter bugs into does not appear in the advanced search form unless the group's MemberControl is also MANDATORY for that product. That is, it is not selectable if the group access control is Default/NA, ENTRY.
Note: The user's bugs against the product are found and visible (dependant on permissions of course) if you use the simple search, or under advanced search if you go into the custom search and enter the product name. Hence I suggest that such products should also be visible in the advanced search form.
Looking at the code I believe a fix is relatively simple: Within get_selectable_products of User.pm for the initial SELECT needs to be
< AND group_control_map.membercontrol = " . CONTROLMAPMANDATORY;
> AND (group_control_map.membercontrol = " . CONTROLMAPMANDATORY . '
> OR group_control_map.entry != 0)';
However, this also affects can_see_product so I am not sure if this would be correct.
You need to log in
before you can comment on or make changes to this bug.
Description
•