View Issue Details

IDProjectCategoryView StatusLast Update
0004769mantisbtbugtrackerpublic2004-11-06 05:59
ReporterChristianL Assigned Tomasc  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.0 
Fixed in Version0.19.1 
Summary0004769: limit_reporter does not work on Jump to Bug
Description

The threshold $g_limit_reporters=ON is ignored on the button "jump to issue" in the menue-bar.
If you enter a number, you can jump to every bug.

TagsNo tags attached.

Activities

ChristianL

ChristianL

2004-10-25 04:48

reporter   ~0008158

see also 0004770

you can fix the bug in access_api.php by inserting the following code in the function access_has_bug_level.

check limit_Reporter

#
$t_limit_reporters = config_get( 'limit_reporters' );
$t_report_bug_threshold = config_get( 'report_bug_threshold' );
if ( (ON === $t_limit_reporters) &&
(!bug_is_user_reporter( $p_bug_id, $p_user_id )) &&
( current_user_get_access_level() <= $t_report_bug_threshold ) ) {
return false;
}

masc

masc

2004-10-25 14:44

reporter   ~0008167

Fixed in CVS

Related Changesets

MantisBT: master 7638daba

2004-10-25 15:47

masc


Details Diff
Fix 4769 - $g_limit_reporters=ON is ignored on button "jump to issue"

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@3083 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0004769
mod - core/access_api.php Diff File