[pmwiki-users] easy question to all

Simon nzskiwi at gmail.com
Tue Oct 14 19:03:41 CDT 2008


You'll find the answer to your question,
and perhaps others of a similar and useful nature
at http://www.pmwiki.org/wiki/PmWiki/Security

Simon

On 15/10/2008, Swift, Chris <Chris.Swift at eu.dodea.edu> wrote:
>
> 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
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>


-- 

http://kiwiwiki.co.nz



More information about the pmwiki-users mailing list