[rt-users] RT4 User.pm Overlay broken?

Kevin Falcone falcone at bestpractical.com
Fri Jul 1 11:49:29 EDT 2011


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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110701/540faa2d/attachment.sig>


More information about the rt-users mailing list