View Issue Details

IDProjectCategoryView StatusLast Update
0008241mantisbtcustomizationpublic2007-10-24 02:27
Reporterwessel_k Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.0a4 
Fixed in Version1.1.0rc2 
Summary0008241: Disable Roadmap
Description

When trying to disable the roadmap feature within Mantis by entering the following line into config_inc.php;

$g_view_changelog_threshold = NOBODY;

Nothing happens. The roadmap menu-item is removed on a project level basis. But not on the toplevel.

Regards,

Wessel

Steps To Reproduce

Add
$g_view_changelog_threshold = NOBODY;

to config_inc.php and check the top-level of the projects.

Additional Information

The solution to work around this issue:

The patch for it so that it works like Changelog, would be to:

core/html_api.php - print_menu()
L529: change from

Code:
if ( ( $t_current_project == ALL_PROJECTS ) || access_has_project_level( config_get( 'roadmap_view_threshold' ) ) ) {

to

Code:
if ( access_has_project_level( config_get( 'roadmap_view_threshold' ) ) ) {

TagsNo tags attached.

Activities

giallu

giallu

2007-08-08 18:51

reporter   ~0015372

A question. The code you posted:


if ( ( $t_current_project == ALL_PROJECTS ) || access_has_project_level( config_get( 'roadmap_view_threshold' ) ) ) {

seems to indicate you should set $g_roadmap_view_threshold to control it, and not $g_view_changelog_threshold

Is that just a copy&paste issue?

vboctor

vboctor

2007-08-09 03:16

manager   ~0015382

Yes, it is a typo. I suggested this temporary fix to wessel_k on the forums so I am aware of the issue.

wessel_k

wessel_k

2007-08-09 04:01

reporter   ~0015384

You're absolutely right. Made a type there.

pluntke

pluntke

2007-10-22 02:09

reporter   ~0015941

a) this hasn't made it into rc1, will it be in rc2?

b) there's still a setup where roadmap still is visible (with view_threshold=NOBODY): when a user has no project assigned (yet) and all projects existing are private.