Page 1 of 1

Unassigned tasks

Posted: 02 May 2011, 07:55
by valli
Hi,
I am using mantis bugtracker 1.2.4. In "My View" page we can see all the unassigned tasks.All the users are able to see this tab.But I want only particular user to see this tab for remaining users this should not be visible.Can u tell me the solution asap.

Thanks in advance

Re: Unassigned tasks

Posted: 02 May 2011, 08:37
by atrol
You can configure that no user gets the display of unassigned tasks.
If you want it for just some users you have to change the source code of MantisBT.

Are you aware that users will still be able to find unassigned issues by using the "View Issues" page?

Re: Unassigned tasks

Posted: 02 May 2011, 09:34
by valli
Hi,
Thanks for ur quick reply.can u suggest me where i have to change the source code.

Re: Unassigned tasks

Posted: 02 May 2011, 10:22
by atrol
You have to add some lines to file file my_view_page.php around line 101
Something like

Code: Select all

else if ( $t_box_title == 'unassigned' && ( <your_condition_to_hide_display> ) ) {
			$t_number_of_boxes = $t_number_of_boxes - 1;
		}
Be aware that whenever you update your installation to a newer version of MantisBT you have to change again.