Reputation: 4244
I am currently implementing a new ticket system for my company and have stumbled across Mantis bug tracker which seems like a fairly robust and feature heavy open source bug-tracking system.
However, after browsing their documentation and forums it would appear that guidance in certain areas of the system are somewhat lacking.
We want to avoid our customers from being able to see the priority that has been set to their issue. To do this, we have removed the history fields from the notification emails as well as hiding this field from all pages that an end user can view. The only place that this now appears is in the issue history section at the bottom of the page.
My question is, how can I remove this history section for users below developer level? I would have thought that this would be a configuration option but it would appear not.
I'm happy to tweak the source code but I am now a .Net developer by trade and haven't coded PHP for about 7 years so some guidance would be helpful.
Upvotes: 0
Views: 542
Reputation: 1274
For hiding the history in emails you need not edit the source code. Just copy the following line to config_inc.php and set the access level.
$g_view_history_threshold = DEVELOPER;
Currently, this works only for emails only. But in future it will work in bug view pages also. Check the config_defaults_inc.php for more details.
You can hide the history section for all users by changing the following variable to OFF:
g_history_default_visible = OFF;
The default value for all the available configuration is available at config_defaults_inc.php, but you should not directly edit there, instead you should copy the variable to config_inc.php and then set your own values.
Upvotes: 0