[rt-users] RTFM and NoAuth

Jesse Vincent jesse at bestpractical.com
Wed Apr 23 04:13:55 EDT 2003


It�s a known issue. Please do note the fact that this is beta software
and isn�t yet even supposed to be fully functional.

	j


On Tue, Apr 22, 2003 at 09:36:51AM -0500, James L. Harrison wrote:
> Yeah,
> 
>  I'm not sure why... But I was looking at NoAuth/RTFM/autohandler and
> NoAuth/RTFM/Elements/authandler
>  You are right... No code is handling it...
> 
>   I ended up with this as my NoAuth/RTFM/autohandler
>   %$m->call_next();
> 
>   <%init>
>   #unless ($session{'CurrentUser'}) {
>   #        $session{'CurrentUser'} = RT::User->new($RT::SystemUser);
>          $session{'CurrentUser'}->LoadByName('RTFM Guest');
>   #}
>   #unless ($session{'CurrentUser'}->Id) {
>   #        $m->comp("/RTFM/Elements/Error", Details => "No 'RTFM Guest'user
> exists");
>   #}
>   </%init>
> 
>  <%once>
>  use RT::FM::ArticleCollection;
>  use RT::FM::ClassCollection;
>  use RT::FM::CustomFieldCollection;
>  use Time::ParseDate;
>  </%once>
> 
> It isn't pretty, but it does work. It forces RTFM Guest to log in. Then I
> made some minor html changes...
> 
> -Jamie
> 
> > -----Original Message-----
> > From: rt-users-admin at lists.fsck.com
> > [mailto:rt-users-admin at lists.fsck.com]On Behalf Of Dirk Pape
> > Sent: Tuesday, April 22, 2003 9:10 AM
> > To: Rt-Users (E-mail)
> > Subject: Re: [rt-users] RTFM and NoAuth
> >
> >
> > Hello,
> >
> > --Am Mittwoch, 16. April 2003 13:50 Uhr -0500 schrieb "James L. Harrison"
> > <harrison at palisadesys.com>:
> >
> > > I am trying to setup RTFM with NoAuth... Everything works great when you
> > > are authenticated... but when trying via NoAuth i get the Overview page
> > > but cannot see any classes.  I did create a user "RTFM Guest"
> > >
> > > However the logs say:
> > > RT: Couldn't load  from the users database.
> > > (/opt/rt3/lib/RT/CurrentUser.pm:111)
> > >
> > > How can I allow access via NoAuth.
> >
> > the same happens here. There seems to be no code handling the case, where
> > no username is known. Does anybody have a solution?
> >
> > Regards,
> > Dirk.
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> >
> > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
> >
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list