Is there a way of defaulting all notes to private ?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ghouse
Posts: 3
Joined: 18 Jan 2010, 13:53

Is there a way of defaulting all notes to private ?

Post by ghouse »

I am currently looking at ways at allowing external (non company) users to create and view Mantis Bugs.

At the moment I am stuck on one specific functionality, and that is stopping these users from viewing added notes, unless we want them to see them.

I will be setting tese external users up as Reporters, so they will have minimal access to projects and also ticket data. This includes private notes within the ticket.

What I want to know is, is there a way to default all notes to be private, unless ticked to be public. In other words, the complete opposite of the normal practice. This seems to be the easiest way of making sure we have control on what notes these users can view, as it would be very easy to forget to make a note private when adding it.

Any help on how to do this would be very much appreciated
atrol
Site Admin
Posts: 8375
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Is there a way of defaulting all notes to private ?

Post by atrol »

enter a line in config_inc.php
for issues

Code: Select all

$g_default_bug_view_status = VS_PRIVATE;
for notes

Code: Select all

$g_default_bugnote_view_status = VS_PRIVATE;
Please use Search before posting and read the Manual
ghouse
Posts: 3
Joined: 18 Jan 2010, 13:53

Re: Is there a way of defaulting all notes to private ?

Post by ghouse »

Thanks Atrol.

I have sent this to our technical department to be actioned.
Post Reply