[rt-users] RT4 User.pm Overlay broken?
Shawn M Plummer
plummer at geneseo.edu
Fri Jul 1 11:24:03 EDT 2011
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.
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
>
> -kevin
~~~~~~~~~~~~~
Shawn Plummer
Systems Manager
CIT SUNY Geneseo
"The mind can make substance, and people planets of its own with beings brighter than have been, and give a breath to forms which can outlive all flesh." -Lord Byron
More information about the rt-users
mailing list