[pmwiki-users] Dumb Question: Access Classes without AuthUser?

Patrick R. Michaud pmichaud at pobox.com
Tue Nov 6 09:21:03 CST 2007


On Tue, Nov 06, 2007 at 07:57:27AM -0600, Tegan Dowling wrote:
> On Nov 6, 2007 7:35 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> >
> > Yes, except that $DefaultPasswords is normally tied to actions and
> > not to accounts...
> >
> > I think you can get what you want by doing something like:
> >
> > [...]
> >
> > I haven't tested the above, but it should be fairly close.
> >
> 
> When this is confirmed to work, could someone please add it to the
> cookbook?  I almost always use the default, password-based
> authentication, rather than any of the user-based authentication
> schemes, and this would be very, very useful for some of my sites that
> have several categories of user, but that have fairly high turnover in
> who those users are -- like a school, for instance.

Indeed.  I'll either make it a recipe or add it to the core somehow.

> If I understand this correctly, I could set the edit password for a
> given group as @student, and then in my config I could re-define the
> @student password each year.  Is that right?

That's correct.

Pm



More information about the pmwiki-users mailing list