Hiding some replies from submitter

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
seanfulton
Posts: 2
Joined: 12 Feb 2006, 23:49

Hiding some replies from submitter

Post by seanfulton »

I'd like to use mantis to handle tickets with some of our customers but don't want all of the banter between our programmers to be visible to the poster or public. Is there a way to set up a private group that can view comments that are not available to the poster or anyone else using Mantis?

sean
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

Hi Sean,

Depending on how exactly you've set your customers up, you might be able to use the $g_private_bugnote_threshold configuration flag. By default, it is set to DEVELOPER: this means that developers and above can access private bug notes.

If your customers are just set up as reporters / updaters (as opposed to managers, say) then so long as you tag your bug notes as private, they shouldn't be able to read them.

Hope that helps,
Lincoln.
seanfulton
Posts: 2
Joined: 12 Feb 2006, 23:49

Post by seanfulton »

That's exactly what I was looking for. I wasn't sure what private referred to.

Thank you. I will give it a try.
sean
atomoid
Posts: 108
Joined: 18 Aug 2005, 00:46
Location: santa cruz, ca

how to make "private" the default?

Post by atomoid »

In actuality, its hard to get everyone to actively tag the bugnotes as "Private" checkbox every time, they often forget to, leading to a very leaky situation. I want to set Mantis so that the " View Status: [ ] private" checkbox is always marked '[x] private' by default (and ideally, just for 'private' projects).

Anyone can tell how to do this?
many thanks!
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

You can use the following configuration option to control the default state for the view status of notes. You can default to private.

# Default Bugnote View Status (VS_PUBLIC or VS_PRIVATE)
$g_default_bugnote_view_status = VS_PRIVATE;

If you want to change it per project, you may need to add entries in the mantis_config_table.

Regards,
Victor
Mantis Blog
http://www.futureware.biz
atomoid
Posts: 108
Joined: 18 Aug 2005, 00:46
Location: santa cruz, ca

!Thanks!

Post by atomoid »

This works great.
I found it was set to 'public' inside the config_defaults_inc.php file, so I overrode the value by pasting "$g_default_bugnote_view_status = VS_PRIVATE;" into the config_inc.php.

It currently defaults all notes to 'private' regardless of whether the project is public or private. ideally i'd like it to only go private for private projects, but as they say beggars cant be choosers, and this gets around the problem.

I'm not quite sure how to get started chaging the "mantis_config_table". i searched for "mantis_config_table" in the manual and forums but didnt really come across anything useful. im kind of a noob to programming so sorry if this question is clueless!
Post Reply