Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.


How can I use the edit password to limit viewing of a page's history?


In PmWiki versions 1.0 and later, set the following in your configuration file:

    $DiffAccessLevel = 'edit';


By default, PmWiki sets $DiffAction to require only 'read' permission on pages to be able to view the history. The setting above allows this to be changed to 'edit' or any other access level.

The reason PmWiki defaults to requiring only 'read' access is that many sites may want to allow readers to be able to quickly see what has changed on a page, even if those readers are unable to edit the page.

Versions of PmWiki prior to 1.0.0 may wish to see http://www.pmichaud.com/pipermail/pmwiki-users_pmichaud.com/2004-June/005439.html for another method of restricting access to the page history function based on edit passwords.


  • Pm -- 19 Jul 2004

pmwiki-2.3.33 -- Last modified by {{michi}}?

from IP: ip should be disabled by default for security reasons