On Fri, Jul 01, 2011 at 11:24:03AM -0400, Shawn M Plummer wrote:
> Thanks for the help!
> For those that find this later for RT4 you apparently need a 
> $rthome/local/lib/RT/User_Local.pm file with this contents to modify what 
> fields non admin users can view.

great - I believe the wiki has also been updated

-kevin

> use strict;
> no warnings qw(redefine);
> package RT::User;
> # Redefine sub _Overlay Accessible to allow all users access to appropriate 
> fields so About this user can display users phone and address.
> 
> sub _OverlayAccessible {
>     {
> 
>         Name                    => { public => 1,  admin => 1 },
>           Password              => { read   => 0 },
>           EmailAddress          => { public => 1 },
>           Organization          => { public => 1,  admin => 1 },
>           Address1              => { public => 1,  admin => 1 },
>           WorkPhone             => { public => 1,  admin => 1 },
>           RealName              => { public => 1 },
>           NickName              => { public => 1,  admin => 1 },
>           Lang                  => { public => 1 },
>           EmailEncoding         => { public => 1 },
>           WebEncoding           => { public => 1 },
>           ExternalContactInfoId => { public => 1,  admin => 1 },
>           ContactInfoSystem     => { public => 1,  admin => 1 },
>           ExternalAuthId        => { public => 1,  admin => 1 },
>           AuthSystem            => { public => 1,  admin => 1 },
>           Gecos                 => { public => 1,  admin => 1 },
>           PGPKey                => { public => 1,  admin => 1 },
> 
>     }
> }
> 
> 1;
> 
> On Jul 1, 2011, at 11:00 AM, Kevin Falcone wrote:
> 
> > Add a package RT::User; line 

Attachment: pgpylbFnX0Z6t.pgp
Description: PGP signature

--------
2011 Training: http://bestpractical.com/services/training.html

Reply via email to