Page 1 of 1

Give access to manage_config_workflow_set.php

Posted: 14 Jan 2014, 08:27
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.

Re: Give access to manage_config_workflow_set.php

Posted: 14 Jan 2014, 10:29
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 ?

Re: Give access to manage_config_workflow_set.php

Posted: 14 Jan 2014, 21:05
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

Re: Give access to manage_config_workflow_set.php

Posted: 15 Jan 2014, 08:32
by kelson
Thanks Atrol.
I will take a look at the bug.