[pmwiki-users] easy question to all
Swift, Chris
Chris.Swift at eu.dodea.edu
Tue Oct 14 10:23:42 CDT 2008
Dear all,
I'm learning so much about wikis and I want to say that I appreciate everyone's help in building my knowledge.
I do have a question (I could refer to it as a "forehead slapper") that probably someone could easily answer, although I'm still somewhat confused about it. Basically, I want to restrict the creation of new groups only to moderators and admin. So, I inserted the following in my local config:
##This prevents new pages from being created unless the group already contains a RecentChanges page or you use the administrator password. An attempt to ##create a page in a new group will fail, because there is no RecentChanges page until the group is created.
$rc = FmtPageName('$Group.HomePage', $pagename);
if (!PageExists($rc))
$DefaultPasswords['edit'] = $DefaultPasswords['admin'];
However, I believe that probably the last part " $DefaultPasswords['admin']; " is messing everything up, because I don't want to restrict editing to all of the pages on my site only to admin, I want everyone to freely edit the pages, except I don't want them to be able to create new groups. Also, I would prefer to create a password in order to create new groups, instead of leaving it only to admin. That way I could still empower "moderators" but not give everyone access to create new groups. Any ideas would be appreciated...
Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20081014/739ccdce/attachment-0001.html
More information about the pmwiki-users
mailing list