[rt-users] Selfservice Display error

Seth Cohn, EFN General Manager gm at efn.org
Sun Jan 5 22:04:05 EST 2003

On Mon, 6 Jan 2003, Phil Homewood wrote:

> I don't use SelfService, so this is untested, but try replacing that with
> unless ($Ticket->CurrentUserHasRight('ShowTicket')) {
>     $m->comp('Error.html', Why => "No permission to display that ticket");
>     $m->abort();
> }
> and see if it helps?

Nope.  Clearly, when the code executes, the CurrentUser is not yet the
Requestor of the ticket.  That doesn't make sense, sinc Create.html is
calling Display.html, and it should have created the ticket (and made the
user the requestor) before it attempts to display it.


More information about the rt-users mailing list