<HTML dir=ltr><HEAD><TITLE>[pmwiki-users] New recipe, request for comments: Sisterly</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText40533 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>Dear all,</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>I'm learning so much about wikis and I want to say that I appreciate everyone's help in building my knowledge.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>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.&nbsp; Basically, I want to restrict the creation of&nbsp;new groups only to moderators and admin.&nbsp; So, I inserted the following in my local config:</DIV>
<DIV dir=ltr><SPAN lang=EN></SPAN>&nbsp;</DIV>
<DIV dir=ltr><SPAN lang=EN><FONT color=#ff0000>##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. </FONT></DIV>
<DIV dir=ltr>
<P><FONT color=#ff0000>$rc = FmtPageName('$Group.HomePage', $pagename);</FONT></P>
<P><FONT color=#ff0000>if (!PageExists($rc)) </FONT></P>
<P><FONT color=#ff0000>$DefaultPasswords['edit'] = $DefaultPasswords['admin'];</FONT> </P>
<P>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.&nbsp; Also, I would prefer to create a password in order to create new groups, instead of leaving it only to admin.&nbsp; That way I could still empower "moderators" but not give everyone access to create new groups.&nbsp; Any ideas would be appreciated...</P>
<P>Thanks,</P>
<P>Chris</P></SPAN></DIV></DIV></BODY></HTML>