Give access to manage_config_workflow_set.php

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
kelson
Posts: 32
Joined: 01 Mar 2011, 11:02

Give access to manage_config_workflow_set.php

Post by kelson »

Hi,

How to give access to manage_config_workflow_set.php for a specific project manager ?

I tried by setting the access level of status_enum_workflow config option to manager.
However, the specific project manager still has an access denied error message when he update the workflow of a specific project.
Probably because the access level take into account the global access level of a user and not the project access level.
kelson
Posts: 32
Joined: 01 Mar 2011, 11:02

Re: Give access to manage_config_workflow_set.php

Post by kelson »

By the way, if I look at the code of manage_config_workflow_set.php

Code: Select all

50.    $t_can_change_level = min( config_get_access( 'notify_flags' ), config_get_access( 'default_notify_flags' ) );
51.    access_ensure_project_level( $t_can_change_level );
Does it mean that a notify_flags config option should be set at manager ?
atrol
Site Admin
Posts: 8571
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Give access to manage_config_workflow_set.php

Post by atrol »

I don't have time to have a deeper look at the moment.
Maybe your problem is caused by this known bug http://www.mantisbt.org/bugs/view.php?id=16771
Please use Search before posting and read the Manual
kelson
Posts: 32
Joined: 01 Mar 2011, 11:02

Re: Give access to manage_config_workflow_set.php

Post by kelson »

Thanks Atrol.
I will take a look at the bug.
Post Reply