Custom access level
Posted: 24 Sep 2020, 21:41
Hello colleagues, i am using MantisBT 2.24.2 and trying to setup custom access level.
I set a new constant in a custom_constants_inc.php
then i add next test to the config_inc.php
and i also modify strings_english.txt
All lokks good, i see new access level.
Now i trying to change this default constant $g_stored_query_create_threshold = DEVELOPER;
so i add next text to the config_inc.php
$g_stored_query_create_threshold = editor;
But i see that every role is able to create filters, i tried to change this to standard role updater, but still every role from viewer to administrator is able to create filters.
What's wrong and how to fix this?
thank you.
I set a new constant in a custom_constants_inc.php
Code: Select all
<?php
define('EDITOR',45);
?>
Code: Select all
$g_access_levels_enum_string = '10:viewer,25:reporter,40:updater,45:editor,55:developer,70:manager,90:administrator';
Code: Select all
# Enum Strings
$s_access_levels_enum_string = '10:viewer,25:reporter,40:updater,45:editor,55:developer,70:manager,90:administrator';
Now i trying to change this default constant $g_stored_query_create_threshold = DEVELOPER;
so i add next text to the config_inc.php
$g_stored_query_create_threshold = editor;
But i see that every role is able to create filters, i tried to change this to standard role updater, but still every role from viewer to administrator is able to create filters.
What's wrong and how to fix this?
thank you.