Последние изменения - Поиск:

Разделы

PmWiki

ред.

Security-Talk

How do I, in config.php, add, or remove, an edit password for a group (or single page)?

You cannot, go to the Group.GroupAttributes?action=attr or Page?action=attr.

How do I only allow authors to post if they have a Profile??

Add this to your local/config.php below include_once("$FarmD/scripts/author.php"); line:

if(!PageExists('Profiles.'.$Author)&&$action=='edit')
$HandleAuth['edit'] = 'admin';

This is a possible solution, but be warned: author can't edit their wiki page in Profiles? group too. Add if($group!='Profiles') above ;-)

This is a talk page for improving PmWiki.Security.

Править - История - Печать - Последние изменения - Поиск
Редакция от 04.03.2009 06:43