[pmwiki-users] Proposed change to password memorization

Dominique Faure dominique.faure at laposte.net
Thu Feb 24 15:38:33 CST 2005


At Thursday, February 24, 2005 4:51 PM [GMT+1=CET], Patrick R. Michaud 
wrote:

> On Thu, Feb 24, 2005 at 07:18:00AM -0800, steven_leite at kitimat.net wrote:
> >
> > There might be times where the administrator wants to set/change
> > passwords in groups/pages withOUT actually logging out.  So it seems
> > to me the ?action=logout might be a better solution (and less work
> > too).
>
> ?action=logout by itself isn't sufficient, because then the administrator
> has to realize that he/she needs to logout in order to lose the
> passwords. (In the scenario I gave in my original message, the admin
> would still
> be confused about why the password "didn't take".)
>
> > I'd like to see he login/logout links as "pluggable" for the template
> > in the same way that the edit this page, link and others are easily
> > placed in to the template.
>
> One can always add them into the template.  Trying to make them
> automatically appear and disappear in every skin/menu is beyond
> the scope of what I want to do now.
>

IMO, I would enjoy something taking the best of AuthenticatedAsConditional 
and UserAuth Cookbook recipes:

1. An 'authenticated' predicate to allow conditional display of content,
2. A couple of (:login:) (:logout:) markup to allow embedding of 
'?action=login' form and '?action=logout' url where you want (eg in the 
sidebar),
3. Internal forms of the above usable from skin code to switch blocks of 
html according to user rights.




More information about the pmwiki-users mailing list