On 7-Feb-08, at 10:00 AM, Fabian Cenedese wrote:
> At 15:34 07.02.2008 +0100, Gianluca Sforna wrote:
>> On Feb 7, 2008 1:37 PM, Fabian Cenedese <[EMAIL PROTECTED]> wrote:
>>> Hi
>>>
>>> I try to set the configuration so people can get an email if a new
>>> bug
>>> was entered even if they're not directly concerned. I know that I
>>> can
>>> assign people to projects/categories, but then they are
>>> automatically
>>> assigned to new bug reports as well. But on administrator level
>>> there
>>> is no project assignment anymore since administrators have access
>>> to all projects anyway.
>>> So how can I do it that an administrator can be "assigned" to a
>>> project
>>> so they get an email for all new bug reports without automatically
>>> being assigned to the bugs themselves? Do I need to reduce the
>>> level to manager for this to work?
>>> I guess I should solve this by setting a user specific configuration
>>> variable, but I don't know what variable I should enter and in what
>>> format.
>>
>> I think you are looking for $g_notify_flags variable; check in
>> config_defaults_inc.php for its usage.
>>
>> If I understand what you are trying to do, you probably need to use:
>>
>> $g_notify_flags['new']['threshold_min'] = ADMINISTRATOR;
>> $g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;
>
> Thanks, I saw this variable before. But I'm not sure about the usage.
> If I add this then do not all administrators get an email? I used the
> "Manage Configuration" page like this:
>
> Configuration Option: notify_flags
> Type: complex
> Value:
> array (
> 'new' =>
> array (
> 'threshold_min' => ADMINISTRATOR,
> 'threshold_max' => ADMINISTRATOR,
> ),
> )
>
> I'll see if that works. Can I also add user and project specific
> options
> in the confic_inc.php (or some other) file? I like configuration in
> files
> much better than in the database. I saw a lot of options with levels
> and thresholds, but not with users or projects.
>
Note that the email distribution is much more easily configured
through the checkboxes on the Manage -> Manage Configuration -> Email
Notifications page. The code figures out the optimal settings based on
the boxes checked.
... Glenn
--
Glenn Henshaw Logical Outcome Ltd.
e: [EMAIL PROTECTED] w: www.logicaloutcome.ca
Mantis Developer and User
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mantisbt-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mantisbt-help