Assign bugs to viewer

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
mecha
Posts: 2
Joined: 27 Jan 2006, 09:54

Assign bugs to viewer

Post by mecha »

Hi,

I'd like to assign bugs to viwer (or reporter).

So i've write these lines :

Code: Select all

	# access level needed to be able to be listed in the assign to field.
	$g_handle_bug_threshold			= VIEWER;
	# access level needed to show the Assign To: button bug_view*_page or
	#  the Assigned list in bug_update*_page.
	#  This allows control over who can route bugs
	# This defaults to $g_handle_bug_threshold
	$g_update_bug_assign_threshold		 = '%handle_bug_threshold%';

	# Access level required to be able to handle sponsored issues.
	$g_handle_sponsored_bugs_threshold = VIEWER;

	# Access level required to be able to assign a sponsored issue to a user with access level
	# greater or equal to 'handle_sponsored_bugs_threshold'.
	$g_assign_sponsored_bugs_threshold = VIEWER;
Any idea why it doesn't work?
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

Hi Mecha:

I would hazard a guess and say, instead of:
$g_update_bug_assign_threshold = '%handle_bug_threshold%';

try:
$g_update_bug_assign_threshold = $g_handle_bug_threshold;

Using what you currently have, it would parse as a string, instead of a number as required.

Hopefully that will help!
Lincoln.
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

Having said that... if you want anyone to be able to have an issue assigned to them, why don't you just assign developer access to everyone?

Then you won't have any of these problems...
Post Reply