Update of /cvsroot/mantisbt/mantisbt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30037
Modified Files:
bug_assign_reporter.php config_defaults_inc.php
Log Message:
removed some redundant code as a result of investigating #4603
- assign to reporter was checking that user could handle
the bug, not the new handler (already done in bug_api:bug_assign)
- added clarification to config for $g_update_bug_threshold
Index: bug_assign_reporter.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bug_assign_reporter.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- bug_assign_reporter.php 8 Feb 2004 15:56:34 -0000 1.1
+++ bug_assign_reporter.php 1 Oct 2004 18:08:22 -0000 1.2
@@ -23,7 +23,6 @@
$f_bug_id = gpc_get_int( 'bug_id' );
access_ensure_bug_level( config_get( 'update_bug_threshold' ),
$f_bug_id );
- access_ensure_bug_level( config_get( 'handle_bug_threshold' ),
$f_bug_id );
bug_assign( $f_bug_id, bug_get_field( $f_bug_id, 'reporter_id') );
Index: config_defaults_inc.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/config_defaults_inc.php,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -d -r1.214 -r1.215
--- config_defaults_inc.php 26 Sep 2004 09:48:51 -0000 1.214
+++ config_defaults_inc.php 1 Oct 2004 18:08:23 -0000 1.215
@@ -784,6 +784,8 @@
$g_report_bug_threshold = REPORTER;
# access level needed to update bugs (i.e., the update_bug_page)
+ # This controls whether the user sees the "Update Bug" button in
bug_view*_page
+ # and the pencil icon in view_all_bug_page
$g_update_bug_threshold = UPDATER;
# access level needed to monitor bugs
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
|