View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005093 | mantisbt | webpage | public | 2005-01-11 09:32 | 2007-10-04 01:37 |
| Reporter | deboutv | Assigned To | vboctor | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.19.2 | ||||
| Fixed in Version | 1.1.0rc1 | ||||
| Summary | 0005093: Rights in custom menu does not work | ||||
| Description | I have created a new page that reports the project hierarchy (list of all projects and all categories). In my config_inc.php file, I have added: $g_main_menu_custom_options[] = array( "hierarchy_link", REPORTER, 'hierarchy_page.php' ); | ||||
| Additional Information | In my account, my default right is VIEWER. | ||||
| Tags | No tags attached. | ||||
|
I still have the same problem with Mantis 1.0.7. with $g_main_menu_custom_options = array ( array( "Manage project", ADMINISTRATOR, 'manage_proj_page.php' ) ); "Manage project" only appears when Project Access Level of the user is ADMINISTRATOR. But it doesn't appear if the Access Level of the user is ADMINISTRATOR for a specific project, when this project is selected. Am I clear ? ;-) |
|
|
In core/html_api.php: prepare_custom_menu_options() Replace: With: Let me know if this fixes the problem. |
|
|
Thanks vboctor ! It's ok, now :-) |
|