Page 1 of 1

Do not Allow Managers to create/delete projects

Posted: 16 Apr 2018, 14:59
by NandoNaldo
Hi,

I have Administrator access to Mantis projects. There is a Permissions Report page Under Manage Configuration option where I can see the Permissions associated with different roles. But i cannot change these settings from this page.

I Do not want to Allow Managers to create/delete projects

So how can I as an Administrator do this??? Any suggestions would be great help.

Thanks in advance

Re: Do not Allow Managers to create/delete projects

Posted: 16 Apr 2018, 15:10
by atrol
NandoNaldo wrote: 16 Apr 2018, 14:59 I Do not want to Allow Managers to create/delete projects
This is the default Mantis setting, so you obviously changed it in config_inc.php or the database configuration.
Check for options $g_delete_project_threshold and $g_create_project_threshold

Re: Do not Allow Managers to create/delete projects

Posted: 17 Apr 2018, 06:41
by NandoNaldo
Hello,

i checked and those options are not present on config.php

Re: Do not Allow Managers to create/delete projects

Posted: 17 Apr 2018, 07:03
by atrol
Which Mantis version do you use?

Re: Do not Allow Managers to create/delete projects

Posted: 17 Apr 2018, 07:11
by NandoNaldo
1.2.19 Version

Re: Do not Allow Managers to create/delete projects

Posted: 18 Apr 2018, 11:59
by atrol
Did you also check the configuration in database? (Manage > Manage Configuration > Configuration Report)

Re: Do not Allow Managers to create/delete projects

Posted: 18 Apr 2018, 13:10
by NandoNaldo
Nope, even in this section there is nothing about project threshold

Re: Do not Allow Managers to create/delete projects

Posted: 18 Apr 2018, 13:31
by atrol
What do you see on page Manage > Manage Configuration > Permission report?

There is a section "Projects"
Are there green checks for "Create Project " and "Delete Project" in column "manager"?

Re: Do not Allow Managers to create/delete projects

Posted: 18 Apr 2018, 13:37
by NandoNaldo
Yes, you are wright. in the permissions section i can see projects and a green flag in the column manager

Re: Do not Allow Managers to create/delete projects

Posted: 18 Apr 2018, 20:29
by atrol
Maybe someone changed original source of Mantis, e.g. maybe someone changed the settings in file config_defaults_inc.php instead of config_inc.php.

Re: Do not Allow Managers to create/delete projects

Posted: 25 Jan 2022, 12:25
by rabbit
Hi all.

I had the same problem.
Even if it not (yet) documented in the Admin Guide:
At least

Code: Select all

$g_delete_project_threshold
$g_create_project_threshold
are working in MantisBT 2.25.2 as suggested (in config_inc.php).

You can use the database-version by going to the tab "Configuration Report" and set the variable there:
Only difference: remove the $g_ from the variables...