Status workflow by access level

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
mbelley
Posts: 6
Joined: 14 Mar 2006, 19:18

Status workflow by access level

Post by mbelley »

Is ist possible to create different workflow by access level (using custom function).
e.g.
Administrator: = No workflow
Manager
# $g_status_enum_workflow[NEW_]='20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved';
# $g_status_enum_workflow[FEEDBACK] ='10:new,30:acknowledged,40:confirmed,50:assigned,80:resolved';
# $g_status_enum_workflow[ACKNOWLEDGED] ='20:feedback,40:confirmed,50:assigned,80:resolved';
# $g_status_enum_workflow[CONFIRMED] ='20:feedback,50:assigned,80:resolved';
# $g_status_enum_workflow[ASSIGNED] ='20:feedback,80:resolved,90:closed';
# $g_status_enum_workflow[RESOLVED] ='50:assigned,90:closed';
# $g_status_enum_workflow[CLOSED] ='50:assigned';
$g_status_enum_workflow = array();

Developeur
same than manager but little more restrictive (some status are not visile for this level)
e.g. closed status is not visible in is level!

Or does it have a better way to do this?

Thank'lot
mbelley
Post Reply