How can I make the default view status of the project as 'Private' while creating a new one

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
shanthini.g
Posts: 44
Joined: 31 May 2017, 12:45

How can I make the default view status of the project as 'Private' while creating a new one

Post by shanthini.g »

I am using Mantis 2.5.1

Please suggest how can I make the default view status of the project as 'Private' while creating a new one.

I tried using the below but this is not working
$g_view_state_enum_string = '50:private,10:public';

Thanks
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How can I make the default view status of the project as 'Private' while creating a new one

Post by atrol »

Add the following line to file config_inc.php, see https://www.mantisbt.org/docs/master/en ... g.defaults

Code: Select all

$g_default_project_view_status = VS_PRIVATE;
Please use Search before posting and read the Manual
gent
Posts: 6
Joined: 01 Aug 2011, 20:04

Re: How can I make the default view status of the project as 'Private' while creating a new one

Post by gent »

Hi,

i've got a similar question:

Is there a way to do this just for some projects and not for all?

Kind regards
Post Reply