From the Eliovir
Is there an easy way to restrict reading access of Draft pages to only those with ‘edit’ permissions? ~Trent June 04, 2009, at 01:54 PM
I think something like the following should work in your config.php
file:
# require edit authorization for reading Drafts $pagename = ResolvePageName($pagename); if (preg_match('/-Draft$/', $pagename)) $HandleAuth['browse'] = 'edit';
Scott Connard June 05, 2009, at 03:16 AM
Copyright © 2005–2025 the Main wiki and its authors
Retrieved from http://eliovir.free.fr/index.php5/PmWiki/Drafts-Talk
Page last modified on June 05, 2009, at 05:51 PM EST