[pmwiki-users] CondAuth ignores $HandleAuth: Bug?

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 15 14:04:53 CDT 2007


On Mon, Oct 15, 2007 at 01:19:44PM -0400, Stirling Westrup wrote:
> > The correct way to see if someone can use action=upload on a page
> > would be with
> > 
> >     (:if action upload {$PAGE} :)
> > 
> > Reportedly this isn't working -- I'll have to double check it and issue an
> > update if that's the case.
> 
> So, this would imply that the Site.PageActions section that looks like:
> 
>   (:if auth upload:)
>   * [[{*$FullName}?action=upload | $[Attach] ]]
>   (:ifend:)
> 
> Should be changed to say (:if action upload:) instead? Since all that is being
> checked is whether its appropriate to show an upload link, and it seems silly
> to show one in cases where it won't be allowed.

Sure, that makes sense.  

Pm



More information about the pmwiki-users mailing list