[pmwiki-users] Permissions for "approve sites"

Donald Z. Osborn dzosborn at gmail.com
Fri Feb 9 11:53:50 CST 2007


Patrick, Bringing back an old issue with a request for clarification. I
currently have the admin password to approve urls but would like to shift
that to the edit password. Sorry to be obtuse, but where to I make the
change?

You mentioned use of this string
'@_site_edit'.
...but it was not clear where.

Or should I be adding something like this in config.php?:

$DefaultPasswords['approeveurl'] = $PmWikiUserPassword;


On 6/15/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>
> On Thu, Jun 15, 2006 at 11:51:56AM -0400, Donald Z. Osborn wrote:
> >    Somewhere in the upgrade (2.0 - 2.1.11) or the setting of passwords
> (user
> >    & admin) all the URLs in my wiki were returned to a pre-approved
> status,
> >    requiring "approve sites." The edit password (uses the "user"
> password)
> >    will not perrmit approving the sites. Is there a setting for this
> >    function?
>
> First, double-check to see if your site was previously storing its
> approved sites in the Main.ApprovedUrls page.  In 2.1 this was switched
> so that PmWiki looks only in Site.ApprovedUrls by default.
>
> If this is the case, then you should be able to simply copy the contents
> of Main.ApprovedUrls into the Site.ApprovedUrls page and everything will
> be "approved" again.
>
> To answer the more general question -- restrictions on approving sites;
> a person is allowed to approve a url if he/she has edit permission on the
> Site.ApprovedUrls page.  So, setting the edit password for
> Site.ApprovedUrls
> should allow authors to approve pages again.  If you want
> Site.ApprovedUrls
> to have the same edit password as the entire site (i.e.,
> $DefaultPasswords['edit']), then set the edit password for
> Site.ApprovedUrls
> to be '@_site_edit'.
>
> Pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070209/d0f3e294/attachment.html 


More information about the pmwiki-users mailing list