View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006481 | mantisbt | preferences | public | 2005-12-09 08:01 | 2009-07-09 09:57 |
| Reporter | robson | Assigned To | dhx | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | duplicate | ||
| Product Version | 1.0.0rc3 | ||||
| Summary | 0006481: Managers cannot get to users management page | ||||
| Description | When I changed $g_manage_user_treshold = MANAGER and logged in to manager account, I still cannot get to "Manage Users" page diretly: management link on Mantis bar showed project management page, no link to user management. I can however access "manage_user_page.php" by editing URL in my browser. | ||||
| Tags | No tags attached. | ||||
| Attached Files | html_api.php.diff (1,808 bytes)
Index: core/html_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/html_api.php,v
retrieving revision 1.184.4.1
diff -c -r1.184.4.1 html_api.php
*** core/html_api.php 8 Dec 2005 22:28:16 -0000 1.184.4.1
--- core/html_api.php 9 Dec 2005 13:45:26 -0000
***************
*** 498,507 ****
}
# Manage Users (admins) or Manage Project (managers) or Manage Custom Fields
! $t_show_access = min( config_get( 'manage_project_threshold' ), config_get( 'manage_custom_fields_threshold' ), ADMINISTRATOR );
if ( access_has_global_level( $t_show_access) || access_has_any_project( $t_show_access ) ) {
$t_current_project = helper_get_current_project();
! if ( access_has_project_level( ADMINISTRATOR, $t_current_project ) ) {
$t_link = 'manage_user_page.php';
} else {
if ( access_has_project_level( config_get( 'manage_project_threshold' ), $t_current_project )
--- 498,511 ----
}
# Manage Users (admins) or Manage Project (managers) or Manage Custom Fields
! $t_show_access = min( config_get( 'manage_project_threshold' ),
! config_get( 'manage_custom_fields_threshold' ),
! config_get( 'manage_user_threshold' ),
! ADMINISTRATOR );
if ( access_has_global_level( $t_show_access) || access_has_any_project( $t_show_access ) ) {
$t_current_project = helper_get_current_project();
! $t_user_access = config_get('manage_user_threshold');
! if ( access_has_project_level( ADMINISTRATOR, $t_current_project ) || access_has_global_level($t_user_access)) {
$t_link = 'manage_user_page.php';
} else {
if ( access_has_project_level( config_get( 'manage_project_threshold' ), $t_current_project )
| ||||
| duplicate of | 0006524 | closed | dhx | Patch: 'manage users' link is displayed only to admins |
| has duplicate | 0007197 | closed | dhx | Some project admins do not have access to the manage link when clicking |
| has duplicate | 0007980 | closed | dhx | Manage menu item links to unaccesable location for project admins |
| has duplicate | 0006402 | closed | dhx | project administrator page "Access denied" |