[pmwiki-users] RE : Renaming and Password

EXT / GFI GAGNAIRE Thierry ext.gfi.gagnaire at sncf.fr
Thu Feb 15 03:20:08 CST 2007


Hello Petko and all,

Thanks for your answer.
It's ok for the URL your give (wiki home page).

But no password are required for many others.

Example :
http://www.adelinapi.org/wiki/index.php?n=Sant%e9EtPhysiologie.Pr%e9sentation?action=rename

In fact, I think password is requested only when there is a password's Group for 'edit' action ; I verify that for the following groups - which are technical groups (form PmWiki or myne) : PmWiki*, Site, Main ; Accueil, BonnesPratiques, DocumentationWiki, DocTechniqueWiki.

[Nota: actually these 'edit' passwords are set to the same string as the 'rename' password I'm trying to set up]


Did I do something wrong or is there a bug ?

Thanks in advance.


bye - Cordialement, 

Thierry

-----Message d'origine-----
De : pmwiki-users-bounces at pmichaud.com [mailto:pmwiki-users-bounces at pmichaud.com] 
Envoyé : jeudi 15 février 2007 02:22
À : pmwiki-users at pmichaud.com
Objet : Re: [pmwiki-users] Renaming and Password

On Thursday 15 February 2007 01:39, Thierry - Listes wrote:
> Hello,
>
> As described in http://www.pmwiki.org/wiki/PmWiki/PasswordsAdmin
> I tried to set a password for 'rename' action :
>
> ## Activate the RenamePage recipe.
> if ($action == 'rename' || $action == 'postrename' || $action == 'links' )
> { include_once("$FarmD/cookbook/renamehelper.php");
>   include_once("$FarmD/cookbook/rename.php");
> }
> $DefaultPasswords['rename'] = crypt('...');
> # Tell PmWiki that the 'rename' password allows action 'rename'.
> $HandleAuth['rename'] = 'rename';
>
>
> But it doesn't work (no password is required).
> What am I doing wrong ?

It asks a password, I just checked. You may be allready logged with an 
administrator password. Try to logout like this:

http://www.adelinapi.org/wiki/index.php?n=Accueil.Pr%e9sentation?action=logout

And then retest it:

http://www.adelinapi.org/wiki/index.php?n=Accueil.Pr%e9sentation?action=rename

Petko


_______________________________________________
pmwiki-users mailing list
pmwiki-users at pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users



More information about the pmwiki-users mailing list