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

Kevin Falcone falcone at bestpractical.com
Mon Oct 4 13:16:05 EDT 2010


On Sat, Oct 02, 2010 at 04:45:48PM +0330, Payam Poursaied wrote:
> 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?

Do these users have SeeQueue?

-kevin

> 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>
> 
> 
> RT Training in Washington DC, USA on Oct 25 & 26 2010
> Last one this year -- Learn how to get the most out of RT!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101004/a3dc2456/attachment.sig>


More information about the rt-users mailing list