Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0006695mantisbtcustomizationpublic2009-06-26 14:18
Reportertk Assigned Todhx  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version1.0.0 
Summary0006695: "Manage Users" menu entry in "Manage" page menu not shown according to $g_manage_user_threshold
Description

Line 6.3.6 of core/html_api.php prevents the correct display of the subpage selection menu in the "manage" page. Currently only an ADMINISTRATOR will see the item due to

    if ( access_has_global_level( ADMINISTRATOR ) ) {
        print_bracket_link( $t_manage_user_page, lang_get( 'manage_users_link' ) );
    }

According to my understanding the if-clause should read as
if ( access_has_global_level( config_get( 'manage_user_threshold' ) ) ) {

so that if I, e.g., set $g_manage_user_threshold = MANAGER any manager will see the link.

TagsNo tags attached.

Relationships

duplicate of 0006524 closeddhx Patch: 'manage users' link is displayed only to admins 

Activities

tk

tk

2006-02-13 02:08

reporter   ~0012138

With a
find . -exec grep -H ADMINISTRATOR {} \;
in the mantis installation directory I have seen that there is a number of lines where ADMINISTRATOR access level is hard coded.
Some of these interfere with the customisations possible in config_inc.php .

E.g., in my context the MANAGER cannot change the users' default project (although g_manage_user_threshold in my configuration is MANAGER).

lifo2

lifo2

2007-02-07 07:49

reporter   ~0014008

Why using find -exec when you could use grep -r ;)
grep -rH ADMINISTRATOR mantisbt/
will just do the trick