View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023232 | mantisbt | filters | public | 2017-08-16 20:35 | 2017-10-08 23:52 |
Reporter | cproensa | Assigned To | cproensa | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 2.6.0 | ||||
Target Version | 2.7.0 | Fixed in Version | 2.7.0 | ||
Summary | 0023232: Custom field is showed in filter when the user has not view access | ||||
Description | The filter form populates all custom fields when the current project is ALL_PROJECTS
If the user has selected "all projects", the custom field appear in the filter form, even when he shouldn't be able to view any value, and wouldn't have any visible value to filter on. | ||||
Tags | No tags attached. | ||||
MantisBT: master b139b96d 2017-08-15 14:21 Committer: dregad Details Diff |
Include custom fields from all included projects When retrieving custom fields to show in the filter form, evaluate all projects included in the filter scope. Previously, evaluation of subprojects only happened when filtering from ALL_PROJECTS. Additionally, check access level for the defined view threshold, to only show those custom fields that are viewable by the user Fixes: 0005713, 0023232 |
Affected Issues 0005713, 0023232 |
|
mod - core/filter_form_api.php | Diff File |