De Redes de Computadores

PmWiki: Drafts-Talk

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

Thanks, that worked perfectly. Trent? June 05, 2009, at 10:51 AM
Obtenido de http://webdelprofesor.ula.ve/ingenieria/amoret/redes/index.php/PmWiki/Drafts-Talk
Última modificación de la página el 05 June 2009 a las 12h51