View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025815 | mantisbt | bugtracker | public | 2019-05-30 12:56 | 2019-08-25 12:36 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 2.22.0 | Fixed in Version | 2.22.0 | ||
Summary | 0025815: Users can't add monitors if access < show_monitor_list_threshold and >= monitor_add_others_bug_threshold | ||||
Description | In View Issue Page, the Users monitoring this issue box is only displayed if the user has This is an uncommon situation, as | ||||
Additional Information | Following discussion in https://github.com/mantisbt/mantisbt/pull/1513#pullrequestreview-239254128 | ||||
Tags | No tags attached. | ||||
related to | 0006128 | closed | dregad | Ability to add monitors to a bug when the bug is first reported |
related to | 0025826 | closed | dregad | Impossible to set add/remove monitors thresholds from manage page |
related to | 0025827 | closed | dregad | Improve documentation for monitors-related configs |
related to | 0012557 | new | Bug view page: add monitoring for user select from list |
MantisBT: master e5a8ca4a 2019-05-30 08:50 Details Diff |
Let users add monitors even if they can't see them In view.php, the 'Users monitoring this issue' box is only displayed if the user has $g_show_monitor_list_threshold. If the same user had $g_monitor_add_others_bug_threshold, they would not be able to adding new monitors. This is an uncommon situation, as monitor_add_others_bug_threshold is expected to be >= show_monitor_list_threshold. Still it makes sense to fix that since the configuration allows such setup. With this change, an 'Access Denied' message is displayed instead of the users' list if access level is below show_monitor_list_threshold and >= monitor_add_others_bug_threshold, and the form to add new monitors is shown. If user's access level is lower than both thresholds, then the behavior is unchanged, i.e. the whole box is hidden. Fixes 0025815 |
Affected Issues 0025815 |
|
mod - bug_monitor_list_view_inc.php | Diff File |