View Issue Details

IDProjectCategoryView StatusLast Update
0007243mantisbtbugtrackerpublic2006-10-30 09:46
ReporterchillaxAssigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product Version1.0.3 
Summary0007243: Restrict Access to Change Severity During Bug Reporting
Description

I think nearly all bug reporting options should be globally controlled. This could be accomplished for severity by the changes to bug_report_page.php and bug_report_advanced_page.php outlined below as well as adding the appropriate, corresponding global variables to config_defaults_inc.php (e.g: $g_set_severity_threshold).

CHANGE FROM:
<!-- Severity -->
<tr <?php echo helper_alternate_class() ?>>
<td class="category">
<?php echo lang_get( 'severity' ) ?> <?php print_documentation_link( 'severity' ) ?>
</td>
<td>
<select tabindex="3" name="severity">
<?php print_enum_string_option_list( 'severity', $f_severity ) ?>
</select>
</td>
</tr>

CHANGE TO:
<!-- Severity (if permissions allow) -->
<?php if ( access_has_project_level( config_get( 'set_severity_threshold' ) ) ) { ?>
<tr <?php echo helper_alternate_class() ?>>
<td class="category">
<?php echo lang_get( 'severity' ) ?> <?php print_documentation_link( 'severity' ) ?>
</td>
<td>
<select tabindex="3" name="severity">
<?php print_enum_string_option_list( 'severity', $f_severity ) ?>
</select>
</td>
</tr>
<?php } ?>

TagsNo tags attached.

Activities

gallen

gallen

2006-10-27 06:42

reporter   ~0013650

This modification is just what I need, too. It would be nice to integrate it into CVS.

gtomlin

gtomlin

2006-10-30 09:46

reporter   ~0013660

I like this idea as a general approach...but for my purposes I'd like to have it for priority rather than severity. I agree with the comment in the original description that it would be good to have this control for most bug reporting fields.

Issue History

Date Modified Username Field Change
2006-06-29 15:57 chillax New Issue
2006-10-27 06:42 gallen Note Added: 0013650
2006-10-30 09:46 gtomlin Note Added: 0013660