MantisBT: master 8b206bcb

Author Committer Branch Timestamp Parent
vboctor master 2003-02-13 08:24 master b7666f1b
Affected Issues  0002901: Reporter cannot close their bugs
Changeset

M manage_user_create.php

  • Fixed a problem where the user create page used to ask the user for confirmation that
    the password is empty, even if it is not empty.

M core/access_api.php

  • (access_can_close_bug): Checks if the current user can close the specified bug.
    This is true if the user is the reporter of the bug and the reporters can close bugs or
    if the user's access level is above the required threshold.
  • (access_ensure_can_close_bug): Calls access_can_close_bug(), and if it fails, it calls
    access_denied().

M bug_close.php
M bug_close_page.php
M bug_view_advanced_page.php
M bug_view_page.php

  • Made use of the added functions in access_api to allow reporters to close their own
    bugs, if $g_allow_reporter_close is set to ON. This is a fix to bug 0002901.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1833 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9

mod - bug_view_page.php Diff File
mod - bug_close_page.php Diff File
mod - bug_view_advanced_page.php Diff File
mod - manage_user_create.php Diff File
mod - bug_close.php Diff File
mod - core/access_api.php Diff File