From 8966833a87b9a002c9d72c56832e35b55628dc81 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 17 Jun 2010 02:08:53 +0000 Subject: Add "View customers of all agents" access rights, RT#7010 --- httemplate/edit/process/elements/process.html | 1 + 1 file changed, 1 insertion(+) (limited to 'httemplate/edit/process') diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html index ebbc2f778..53419cde0 100644 --- a/httemplate/edit/process/elements/process.html +++ b/httemplate/edit/process/elements/process.html @@ -207,6 +207,7 @@ if ( $opt{'agent_virt'} ) { die "illegal agentnum" unless $curuser->agentnums_href->{$new->agentnum} + or $curuser->access_right('View customers of all agents') or $opt{'agent_null_right'} && ! $new->agentnum && $curuser->access_right($opt{'agent_null_right'}); -- cgit v1.2.1