[rt-users] CommentAddress()/CorrespondAddress method and user rights

Payam Poursaied payam at rasana.net
Sat Oct 2 09:15:48 EDT 2010


Hi all
I have created the following callback in order to add a hyper links which
will be used in conjunction of a mail clients. In other word, my users could
easily click on some links and their mail client would be open with
appropriate "To:" and "Subject:" fields.

The problem is, when some users (with very limited Rights, i.e. ShowTicket,
Comment) browse the Display page of a ticket,
Ticket->QueueObj->CorrespondAddress() and
$Ticket->QueueObj->CommentAddress() are empty. (although
Ticket->QueueObj->SubjectTag() returns value)

I could not find anything related to User Rights about above mentioned
methods. Could anyone help?


local/html/Callbacks/MyCallbacks/Ticket/Elements/ShowBasics/EndOfList:

  <tr>
    <td class="label top"><&|/l&>Action</&>:</td>
    <td class="label top">
<p>win7:
<a href="mailto:<% $Ticket->QueueObj->CorrespondAddress() %>?subject=[<%
$Ticket->QueueObj->SubjectTag() %> #<% $Ticket->id %>]<% $Ticket->Subject()
%>">R
eply</a>
|
<a href="mailto:<% $Ticket->QueueObj->CommentAddress() %>?subject=[<%
$Ticket->QueueObj->SubjectTag() %> #<% $Ticket->id %>]<% $Ticket->Subject()
%>">Comm
ent</a> (Don't use IE)
<br>
other:
<a href="mailto:<% $Ticket->QueueObj->CorrespondAddress() %>?subject=[<%
$Ticket->QueueObj->SubjectTag() %> #<% $Ticket->id %>]">Reply</a>
|
<a href="mailto:<% $Ticket->QueueObj->CommentAddress() %>?subject=[<%
$Ticket->QueueObj->SubjectTag() %> #<% $Ticket->id %>]">Comment</a> (Don't
use IE)
</p>

</td>
  </tr>
<%ARGS>
$Ticket => undef
</%ARGS>
<%INIT>
</%INIT>




More information about the rt-users mailing list