[pmwiki-users] AuthUser2 (UserAuth2) with pagelist

Patrick R. Michaud pmichaud at pobox.com
Tue May 8 09:05:38 CDT 2007


On Tue, May 08, 2007 at 03:54:34PM +0200, ThomasP wrote:
> Hi!
> 
> > Perm for user 'admin', page 'Main.HomePage', level 'ALWAYS': failed.
> > Perm for user 'admin', page 'Main.WikiSandbox', level 'ALWAYS': failed.
> > Perm for user 'admin', page 'PmWiki.AccessKeys', level 'ALWAYS': failed.
> >
> > Not sure where to go from here!
> >
> 
> Well that's quite obvious. "Someone" had obviously a special permission
> level in mind ;)
> 
> To be serious: The module is asked for permission on level 'ALWAYS', but
> this level is just not known to the authorization module (and probably
> should not exist in pmwiki), and is consequently denied. In the later
> pmwiki version the level in the corresponding permission queries is then
> corrected/remapped/whatever.

PmWiki uses the "ALWAYS" permission level to indicate that a page
should be retrieved regardless of any passwords that may have been
set.  It's used internally when PmWiki wants to evaluate the
permissions on a page even if the page has a 'read' password
set.

In particular, the (:pagelist:) command uses the ALWAYS level
to determine which pages need to be subsequently checked if
pagelist results are being cached.

Pm



More information about the pmwiki-users mailing list