View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015260 | mantisbt | bugtracker | public | 2012-12-05 12:48 | 2014-09-23 18:05 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.12 | ||||
Target Version | 1.2.13 | Fixed in Version | 1.2.13 | ||
Summary | 0015260: access_get_status_threshold() returns incorrect value for NEW | ||||
Description | When the user's access level is below $g_update_bug_status_threshold and the status to change to is NEW, the function returns the incorrect access level, preventing user from accessing the target status when updating bugs, even though the workflow permits it. | ||||
Steps To Reproduce | With Mantis default settings (i.e. update_bug_status_threshold = DEVELOPER, login | ||||
Tags | No tags attached. | ||||
MantisBT: master-1.2.x 179bfc01 2012-12-06 03:33 Details Diff |
access_get_status_threshold() returns incorrect value for NEW When the user's access level is below $g_update_bug_status_threshold and the status to change to is NEW, the function returned the incorrect access level, preventing user from accessing the target status when updating bugs, even though the workflow permits it. This commit fixes the problem by introducing special handling for NEW status ('bug_submit_status'), in which case the function returns 'report_bug_threshold' otherwise it falls back to default 'update_bug_status_threshold'. Fixes 0015260, affects issue 0015258 |
Affected Issues 0015258, 0015260 |
|
mod - core/access_api.php | Diff File | ||
MantisBT: master 53844e36 2012-12-06 03:33 Details Diff |
access_get_status_threshold() returns incorrect value for NEW When the user's access level is below $g_update_bug_status_threshold and the status to change to is NEW, the function returned the incorrect access level, preventing user from accessing the target status when updating bugs, even though the workflow permits it. This commit fixes the problem by introducing special handling for NEW status ('bug_submit_status'), in which case the function returns 'report_bug_threshold' otherwise it falls back to default 'update_bug_status_threshold'. Fixes 0015260, affects issue 0015258 |
Affected Issues 0015258, 0015260 |
|
mod - core/access_api.php | Diff File |