From fa741a3f4e5e281d81f62b504b7d20e9c6464fa4 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 23 Mar 2008 23:38:49 +0000 Subject: part 1 of #1160: associate users w/customers, manual editing --- rt/html/Admin/Users/Modify.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'rt/html') diff --git a/rt/html/Admin/Users/Modify.html b/rt/html/Admin/Users/Modify.html index d97588c83..be50dca0f 100644 --- a/rt/html/Admin/Users/Modify.html +++ b/rt/html/Admin/Users/Modify.html @@ -105,6 +105,12 @@
+ +<&| /Widgets/TitleBox, title => loc('Customers') &> +<& /Elements/EditCustomers, Object => $UserObj, CustomerString=> $CustomerString, ServiceString => $ServiceString &> + +
+ <&| /Widgets/TitleBox, title => loc('Access control') &> /> @@ -339,6 +345,8 @@ if ($UserObj->Id && $id ne 'new') { push (@results,@fieldresults); push @results, ProcessObjectCustomFieldUpdates( ARGSRef => \%ARGS, Object => $UserObj ); + #deal with freeside customer links + push @results, ProcessObjectCustomers( ARGSRef => \%ARGS, Object => $UserObj ); # {{{ Deal with special fields: Privileged, Enabled if ( $SetPrivileged and $Privileged != $UserObj->Privileged ) { @@ -430,4 +438,8 @@ $Country => undef $Pass1 => undef $Pass2=> undef $Create=> undef +$OnlySearchForCustomers => undef +$OnlySearchForServices => undef +$CustomerString => undef +$ServiceString => undef -- cgit v1.2.1