<div dir="ltr">Hi,<div><br></div><div style>There is no suitable callbacks for this. You can search for Abort in Ticket/Display.html and place a callback yourself just before abort calls. Other way is to wrap Abort check caller with perl's caller function (perldoc -f caller) and do redirect when it's Ticket/Display.html. To do redirect take a look at MaybeRedirectForResults calls.</div>
<div style><br></div><div style>I like what you want to do and I think Display.html can be refactored to make it much easier to implement "redirect to different place if user has no rights to see ticket after changes", so good patches are welcome.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 12, 2013 at 5:05 PM, Patrick G. Stoesser <span dir="ltr"><<a href="mailto:lists@pgs-info.de" target="_blank">lists@pgs-info.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
as described in <<a href="mailto:514C70F2.1040200@pgs-info.de" target="_blank">514C70F2.1040200@pgs-info.de</a>><u></u>, I run two queues, Level1 and Level2. My Level2 users now have a custom<br>
status "returned". When chosing this status for a ticket, the ticket<br>
will change the queue to Level1, will be set to unowned and escalations<br>
will be reset to the beginning. This whole thing works fine.<br>
<br>
The only thing: As soon as the tickets' level is set to "returned" and so the queue has changed, the user gets an error site: "No permission to view ticket"<br>
<br>
Which is correct, because the ticket has left his queue.<br>
<br>
Is it possible to redirect the user to his RT at a glance site in this case? Yes, it's jaust a click, but a displayed error may be disturbing for the user, especially when he did nothing wrong.<br>
<br>
Thanks in advence, Patrick<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards, Ruslan.
</div>