[Pmwiki-users] PmWiki password puzzle

Patrick R. Michaud pmichaud
Wed Aug 25 07:04:32 CDT 2004


On Wed, Aug 25, 2004 at 11:15:12AM +1200, John Rankin wrote:
> The setup:
> There is a group with a read password and an edit password. The 
> edit password is also a valid read password. Some pages have the 
> read password set to nopass, allowing read access by anyone.
> 
> The sidebar includes both Main.SideBar and $group.SideBar. Neither 
> SideBar page has a password.
> 
> The problem:
> On pages without a password, $group.SideBar displays, but 
> Main.SideBar doesn't.

Hmm.  I tried duplicating this problem on pmwiki.org, but I got the 
"opposite" result (http://www.pmwiki.org/wiki/PasswordTest).  That is,
the Main.SideBar appears correctly, but the $group.SideBar 
(PasswordTest.SideBar) doesn't appear until you enter a password.

Can you double-check that the correct pages are displaying?  Feel
free to play around with the test group on pmwiki.org (the read/edit
passwords are set to 'secret' via GroupAttributes).

> If we edit a page and enter the edit password, or visit a page 
> that requires a read password, Main.SideBar displays correctly 
> for the rest of the browser session.

I get the same effect, except that Main.SideBar always displays and
the $group.SideBar only displays after a password has been entered.
However, this is to be expected in this scenario, since as described
$group.SideBar doesn't have a password of its own and is therefore
read-protected by the group passwords...

Can you check/verify that it's really Main.SideBar that is being
suppressed and not the $group.SideBar?  That's really odd.  Feel free 
to modify/test my test case on pmwiki.org, or to create one that
demonstrates the problem (note that at the moment only the PasswordTest
group is configured with both Main.SideBar and $group.SideBar in the
sidebar).

Pm



More information about the pmwiki-users mailing list