Do not Allow Managers to create/delete projects

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Do not Allow Managers to create/delete projects

Post 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
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Do not Allow Managers to create/delete projects

Post 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
Please use Search before posting and read the Manual
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Re: Do not Allow Managers to create/delete projects

Post by NandoNaldo »

Hello,

i checked and those options are not present on config.php
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Do not Allow Managers to create/delete projects

Post by atrol »

Which Mantis version do you use?
Please use Search before posting and read the Manual
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Re: Do not Allow Managers to create/delete projects

Post by NandoNaldo »

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

Re: Do not Allow Managers to create/delete projects

Post by atrol »

Did you also check the configuration in database? (Manage > Manage Configuration > Configuration Report)
Please use Search before posting and read the Manual
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Re: Do not Allow Managers to create/delete projects

Post by NandoNaldo »

Nope, even in this section there is nothing about project threshold
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Do not Allow Managers to create/delete projects

Post 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"?
Please use Search before posting and read the Manual
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Re: Do not Allow Managers to create/delete projects

Post by NandoNaldo »

Yes, you are wright. in the permissions section i can see projects and a green flag in the column manager
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Do not Allow Managers to create/delete projects

Post 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.
Please use Search before posting and read the Manual
rabbit
Posts: 12
Joined: 12 Jun 2021, 06:32

Re: Do not Allow Managers to create/delete projects

Post 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...
Post Reply