MantisBT: master-1.2.x 0ec4563a

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-04-14 11:34 master-1.2.x 0b49c6af
Affected Issues  0014156: Add Close button for Reporter if allow_reporter_close is enabled
Changeset

Add 'Close' button for bugs

This commit introduces a new 'Close' button in the View Issue Details
page, making it easier and more intuitive for reporters to close their
own issues (when $g_allow_reporter_close = ON).

It also improves the access level verifications, simplifies the code and
makes it more readable by using standard access check functions.

This is an improvement over the functionality implemented in 0011502 not
only in terms of usability, but also for security as in some specific
cases users could actually bypass the workflow.

Fixes 0014156

mod - bug_change_status_page.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - core/access_api.php Diff File
mod - core/bug_api.php Diff File
mod - core/html_api.php Diff File
mod - lang/strings_english.txt Diff File