[rt-users] AdminUsers right required to see some user info?
David Chandek-Stark
david.chandek.stark at duke.edu
Fri Dec 1 15:57:34 EST 2006
I customized Ticket/Elements/ShowRequestor, removing the default content
(Comments, User's Highest priority tickets, and group memberships) and
using the 'AboutThisUser' callback. Here's the callback:
<table>
% if ($requestor->EmailAddress) {
<tr>
<td class="label">Email:</td>
<td class="value"><a
href="mailto:<%$requestor->EmailAddress%>"><%$requestor->EmailAddress%></a></td>
</tr>
% }
% if ($requestor->WorkPhone) {
<tr>
<td class="label">Phone:</td>
<td class="value"><%$requestor->WorkPhone%></td>
</tr>
% }
% if ($requestor->Address1) {
% my @office = split /\$/, $requestor->Address1;
<tr>
<td class="label">Office:</td>
<td class="value"><% $office[0] %></td>
</tr>
% }
</table>
<%ARGS>
$requestor
</%ARGS>
For some reason, it seems that the 'AdminUsers' right is required to
access WorkPhone and Address1. Is there any way to change this? Viewing
this contact information is obviously useful to supporters whom I don't
necessarily want to be able to create/edit/disable users.
Thanks,
David
More information about the rt-users
mailing list