[pmwiki-devel] Reading the page, and forcing a re-read

DaveG pmwiki at solidgone.com
Mon Sep 7 18:40:20 CDT 2009


In oder to allow posting of anonymous comments, BlogIt sets the edit 
password to an empty string, when a comment is being posted.

This works fine, until a page read occurs before BlogIt is included. 
This happens frequently without being explicit -- for instance a call to 
CondAuth will perform a page read, and establish authorization rules. 
Recipe users will often do this in config.php. At that point, setting 
the password to "" doesn't have the desired effect since PmWiki has 
already established the authorization levels.

So, is there a way from a recipe to force PmWiki to re-establish the 
authorizations? Or, alternately, is setting the edit password to "" 
simply the wrong approach? (It certainly seems to be fairly restrictive 
in what users can perform before including BlogIt.) If so, what is the 
more robust way?


  ~ ~ Dave



More information about the pmwiki-devel mailing list