[pmwiki-users] Condition on authority to another page

Allister Jenks arj at zkarj.co.nz
Tue Mar 28 14:32:00 CST 2006


On 3/29/06, Neil Herber <nospam at eton.ca> wrote:
>
> At 2006-03-28  10:41 AM -0600, Patrick R. Michaud is rumored to have said:
> >I've been thinking of extending the auth condition to be able to
> >work on pages other than the current one.
> >
> >     (:if !auth read Subscriber.Issue4:)
>
> This order make the most sense to me. It almost reads like English
> "If you are not authorized to read Issue 4", and it adds "options" to
> the end of the   (:if !auth read:) directive.


I agree this makes the most sense for the reasons Neil describes - even if
it is not the order I originally suggested!

I think it would be generally useful for adaptive 'table of contents' type
situations - even though this is not quite how I intend to use it.

--
Allister
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060329/f4fbd1b6/attachment.html 


More information about the pmwiki-users mailing list