Filter tab only for admin
Posted: 10 May 2014, 14:06
Hi, I would like to ask you, if would be possible to limit access to the Filter table in the Bug page for admin only. For other users should be hidden. Thanks a lot for any answer.
This is a known feature request.Mejstro wrote:any possibility to minimize it by default?
i found the new "simple" way to collapse filters (and the other sections, think you will get the idea)..
add the following code to the custom_functions_inc.php in mantis main dir (if the file does not exist-create it with '<?php' at the top):
Code: Select all
if (auth_is_user_authenticated()) { //collapse filters by default > work around if (token_get(TOKEN_COLLAPSE) == null) { token_set( TOKEN_COLLAPSE, 'a:1:{s:6:"filter";b:0;}' ); } }