[rt-users] Requestor can't see outgoing mail in Self Service
Joe Casadonte
joe.casadonte at oracle.com
Mon Mar 5 16:08:35 EST 2007
On 3/2/2007 3:58 PM, Gene LeDuc wrote:
> It looks like a bug to me. The only way I've been able to allow an
> unprivileged requestor to view outgoing e-mail is to turn him into a
> privileged user. Privileged users get a different Display.html than
> unprivileged users, and I think that's the difference.
I think what's happening is that the URL is not formatted for
SelfService "correctly". The URL is:
{WebBaseURL}/Ticket/ShowEmailRecord.html
As I understand things, the Mason autohandler is interfering here. From
[RT-BASE-DIR]/html/autohandler, line 271 in 3.6.3 source:
if ( not $session{'CurrentUser'}->Privileged ) {
# if the user is trying to access a ticket, redirect them
if ( $m->request_comp->path =~ '^(/+)Ticket/Display.html'
and $ARGS{'id'} )
{
$m->comp( "/SelfService/Display.html", %ARGS );
$m->comp( "/Elements/Footer", %ARGS );
$m->abort();
}
# otherwise, drop the user at the SelfService default page
elsif ( $m->base_comp->path !~ '^(/+)SelfService/' ) {
$m->comp('/SelfService/index.html');
$m->abort();
}
else {
$m->comp( { base_comp => $m->request_comp },
$m->fetch_next, %ARGS);
}
}
You need to allow the different URL to pass through or be redirected
somehow. I'm not sure if autohandler is able to be localized; someone
more knowledgeable than I would have to answer that.
--
Regards,
joe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Joe Casadonte | joe.casadonte at oracle.com |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| Oracle Transportation Management | 1016 West Ninth Avenue |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Suite 300 |
| 610-491-3315 | King of Prussia, PA 19406 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the rt-users
mailing list