Hi.
I install the new v2.8 and I don´t see how can to not show certain elements.
In report issues I don´t want to show
- Select Profile
- Steps To Reproduce
- Additional Information
- Attach Tags
The Severity want to have 2 (normal, urgent)
The Priority want to have 2 (normal, urgent)
Also, I know if is posible that users can not change (except the admin), chage email, password, not show the tabs Preferences, Manage columns, Profiles and API Tokens.
I try to see the wiki and Administrator guide, change the config_inc, but cant do the above.
A lot of thanks for any help.
Configuration to not show certain elements
Moderators: Developer, Contributor
Re: Configuration to not show certain elements
Hi there,
Comment/uncomment any lines that you don't want to appear in your bug_report_page (same for view_page_fields : $g_bug_view_page_fields = ... )
To disable the following items, add the following lines to your config_inc.php (in mantis-root/config/) :benjaminrc78 wrote: In report issues I don´t want to show
- Select Profile
- Steps To Reproduce
- Additional Information
- Attach Tags
Code: Select all
# To disable profiles:
$g_enable_profiles = OFF;
# To disable Steps-to-reproduce, additional informations and tags:
$g_bug_report_page_fields= array(
'category_id',
'view_state',
'handler',
'priority',
'severity',
'reproducibility',
// 'platform',
// 'os',
// 'os_version',
'product_version',
'product_build',
'target_version',
'summary',
'description',
// 'additional_info',
// 'steps_to_reproduce',
'attachments',
'due_date',
);
Currently working on a wiki-based plugin for MantisBT 2.X. If you'd like to test it, contact me or see the plugin section.
-
- Posts: 11
- Joined: 02 Feb 2011, 09:32
Re: Configuration to not show certain elements
For the severity and priority enumeration, add the following :
in config_inc.php:
in config_inc.php:
Code: Select all
$g_severity_enum_string = '30:medium,40:high';
$g_priority_enum_string = '30:medium,40:high';
Currently working on a wiki-based plugin for MantisBT 2.X. If you'd like to test it, contact me or see the plugin section.