[rt-users] More About Window for Privileged Users

Helmuth Ramirez HelmuthRamirez at compupay.com
Fri Jul 28 15:25:19 EDT 2006


Thanks for the fast response!!

I tried that....and it didn't like it when I refreshed the page :( I
commented out the first and last line of my excerpt below.  I OBVIOUSLY
did something wrong, any additional help would be really appreciated.

Here is an excerpt for that part of my ShowRequestor file


% unless ($requestor->Privileged) {
<&| /Widgets/TitleBox, title_href => $has_right_adminusers ?
"$RT::WebPath/Admin/Users/Modify.html?id=".$requestor->id : undef,
title=> loc("More about [_1]", $name) &>

%# Additional information about this user.  Empty by default.
<& /Elements/Callback, _CallbackName => 'AboutThisUser', requestor =>
$requestor, %ARGS &>

<&|/l&>Comments about this user</&>:<br />
<b><% ($requestor->Comments || loc("No comment entered about this
user")) %></b><br />

<&|/l, $rows &>This user's [_1] highest priority tickets</&>:<br />
<ul>
%while (my $w=$tickets->Next) {
<li><a href="<%$RT::WebPath%><%$DisplayPath%>?id=<%$w->id%>"><%$w->Id%>:
<%$w->Subject%></a> (<%$w->Status%>)
%}

-----Original Message-----
From: Schultz, Eric [mailto:ESchultz at corp.untd.com] 
Sent: Friday, July 28, 2006 1:28 PM
To: Helmuth Ramirez; rt-users at lists.bestpractical.com
Subject: RE: [rt-users] More About Window for Privileged Users

> Hi all,
>   I'd like to know if I can get the nice little "More About" window to
> show up for my users.  I imported them from LDAP and they're all
> privileged, but because of that right, it seems I don't get that nice
> little feature :(
> 
> Is there a clean way I can enable that for them?

Sure - in /path/to/your/rt/share/html/Ticket/Elements/ShowRequestor,
remove the lines:

65: % unless ($requestor->Privileged) {
84: %}

Then, you'll get this for all users, not just Unprivileged.  The even
"cleaner" way to do this would be to make a copy of the same file, put
it in the "local" heirarchy, then make your changes there.  See
http://wiki.bestpractical.com/index.cgi?CleanlyCustomizeRT for details
on using 'local'.

Eric Schultz
United Online



More information about the rt-users mailing list