[pmwiki-users] Find out password for one page
Patrick R. Michaud
pmichaud at pobox.com
Mon Oct 2 15:42:08 CDT 2006
On Mon, Oct 02, 2006 at 03:30:37PM -0500, Patrick R. Michaud wrote:
> Now that I think about it, I think I even know an easy way to
> implement it that wouldn't interfere with the existing authorization
> system. Hmmmm....
...would something like the following be too onerous for
an admin to deal with in config.php...?
# restrict ?action=attr
$DefaultPasswords['attr'] = '@lock';
# set read password for Main group
$DefaultAttr['Main.GroupAttribute']['passwdread'] = crypt('secret');
# set edit password for Main.WikiSandbox
$DefaultAttr['Main.WikiSandbox']['passwdedit'] = '@nopass';
Pm
More information about the pmwiki-users
mailing list