From 0b704b4eeb63358df9094b4c68cd1f47d1a9bd23 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 23 Mar 2008 23:39:15 +0000 Subject: part 1 of #1160: associate users w/customers, manual editing --- rt/html/Admin/Users/Modify.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'rt/html/Admin/Users') diff --git a/rt/html/Admin/Users/Modify.html b/rt/html/Admin/Users/Modify.html index 8a24f9c4a..f09470e2b 100644 --- a/rt/html/Admin/Users/Modify.html +++ b/rt/html/Admin/Users/Modify.html @@ -103,6 +103,11 @@ <& /Elements/TitleBoxEnd &>
+ +<& /Elements/TitleBoxStart, title => loc('Customers') &> +<& /Elements/EditCustomers, Object => $UserObj, CustomerString=> $CustomerString, ServiceString => $ServiceString &> +
+ <& /Elements/TitleBoxStart, title => loc('Access control') &> > @@ -327,6 +332,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 ) { @@ -418,4 +425,8 @@ $Country => undef $Pass1 => undef $Pass2=> undef $Create=> undef +$OnlySearchForCustomers => undef +$OnlySearchForServices => undef +$CustomerString => undef +$ServiceString => undef -- cgit v1.2.1