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: Contributor, Developer

Post Reply
shanthini.g
Posts: 17
Joined: May 31, 2017 7:45 am

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

Post by shanthini.g » May 11, 2018 2:10 am

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: 7218
Joined: Mar 26, 2008 4:37 pm
Location: Germany

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

Post by atrol » May 17, 2018 2:12 am

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: 4
Joined: Aug 01, 2011 3:04 pm

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

Post by gent » Jul 20, 2018 4:06 am

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