[rt-users] Hiding keywords/Making transparent to Non-Privileged users

Phil Homewood pdh at bestpractical.com
Mon Feb 10 03:06:44 EST 2003


Tom Stephenson wrote:
> My org. wants keywords to be treated like comments -- all keyword
> content should only viewable by privaleged users.
> 
> In any case, I'm not quite sure which file has the logic for
> Display.html or Modify.html (the screen where you add keywords) to make
> these changes in.  Can someone point me in the right direction or
> suggest an alternate method?

I'd probably start by looking at the 'Keyword' code in
lib/RT/Transaction::BriefDescription(), and guarding it by
a check on $self->CurrentUserHasRight('ShowTicketComments')
or similar; the "correct" way would be to add another right
(ShowKeywords?) to the ACE system, and use that right.
-- 
»|« http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list