[pmwiki-users] self-registering for notification emails
Tegan Dowling
tmdowling at gmail.com
Mon Jun 5 11:13:13 CDT 2006
On 6/5/06, Américo Albuquerque <aalbuquerque at lanowar.sytes.net> wrote:
>
> ----- Original Message -----
> Subject: Re: [pmwiki-users] self-registering for notification emails
> Date: Mon, 05 Jun 2006 11:48:55 -0400
> From: Neil Herber
>
> > At 2006-06-05 04:40 PM +0100, Américo Albuquerque is rumored to have
> said:
> > > > Another option is require edit permission for both source and diff:
> > > >
> > > > $HandleAuth['source'] = 'edit';
> > > > $HandleAuth['diff'] = 'edit';
> > > >
> > >
> > >To bad we can't do that just to a single page or to a group like we can
> > >with read, write and attr actions (and upload if we have it set in
> > >config.php)
> >
> > You should be able to by creating local page or
> > group config files including the HandleAuth statements.
> >
> I ment using the action=attr
> Using a local group or page config files works but you need to have
> direct access to the webserver (ie, made by a webadmin). If it was also
> possible by the action=attr then users or groups that had access to that
> action could also set it.
>
I'm not quite sure how you would implement the following, but there is
a variable $PageAttributes
http://www.pmwiki.org/wiki/PmWiki/OtherVariables#PageAttributes
The example given on that page is for adding a Source password to the
?action=attr form:
Set the string showed on the attributes page when entering a password
for an action.
#example for "source" action
$PageAttributes['passwdsource'] = "$['Set new source password']"
I don't see any explanation of how or why 'passwdsource' means what it
appears to mean to the pmwiki engine. Still, based on the above, I
would try this:
$PageAttributes['passwddiff'] = "$['Set new history password']"
But I wouldn't really expect it to work, since I see no reason for
'passwddiff' to mean anything to the pmwiki engine, either.
Tegan
More information about the pmwiki-users
mailing list