Re: Auth in cached pages

Albert Lash <alby-8/[email protected]> Wed, 1 Jun 2005 13:45:29 -0400 (EDT)
Newsgroups gmane.comp.lib.nexista.devel
Message-ID <[email protected]>
Yeah, actually it does exactly that. All you need to do is comment out the
$auth->requireRole($requiredRole); line.

On Wed, 1 Jun 2005, Joshua wrote:

> I think that since we have a pretty flexible system in terms of auth and cache
> that we should let the cache function implement the auth in the cache as an
> option if wanted. Is that what you had in mind?  Some of the cache systems
> may have methods that can be tied in with our auth or one can write their own
> stuff.
> J
> On Wednesday 01 June 2005 9:55 am, Albert Lash wrote:
> > I made the necessary changes in foundry.php and init.php for prepend to
> > check auth before outputting cached content. Now I'm going to set it up in
> > prepend. I'll commit it, its only a few lines of code and won't mouse
> > things up too much. I'll give you some time to tell me not to first
> > though.
> >
> > On Wed, 1 Jun 2005, Albert Lash wrote:
> > > Hi JS,
> > >
> > > How are you? The auth system is not yet implemented in the prepend.php
> > > example use of prepend.php output buffering. I'd like to implement it and
> > > thought you might have some input.
> > >
> > > I think the way it used to work was that the same auth code was also
> > > input into the cached file. Can you confirm this? Does this make sense
> > > here?
> > >
> > > Thanks,
> > >
> > > Al
>