[rt-users] Hide standard fields from some users?

Italo Valcy italovalcy at gmail.com
Tue Oct 26 16:32:40 EDT 2010


Hi Torsten,

On Thu, Apr 1, 2010 at 5:55 AM, Torsten Brumm
<torsten.brumm at googlemail.com> wrote:
> If you like to a clean version try something like this:
>
> 1. MyTineRightsAddOn.pm
> ---------------------------------------------
> package RT::Extension::MyTinyRightsAddOn;
>
> our $VERSION = '0.01';
>
> use warnings;
> use strict;
>
> use RT::System;
> my %rights = (
>    ViewSomeMenuItems => 'View some Menu Items', #loc_pair
> );
> $RT::System::RIGHTS = { %$RT::System::RIGHTS, %rights };
> %RT::ACE::LOWERCASERIGHTNAMES = ( %RT::ACE::LOWERCASERIGHTNAMES,
>                                      map { lc($_) => $_ } keys %rights);
>
> 1;
> ------------------------------------------------------------

I have followed your tip but I could not see how to add this rights to
a User, for example (through Configuration > Globals > User Rights).
How can I do this? (if I can..)


Thank you for any help!



-- 
Saudações,

Italo Valcy :: http://wiki.dcc.ufba.br/~ItaloValcy



More information about the rt-users mailing list