On Sat, May 19, 2007 15:53, Patrick R. Michaud wrote:
>
> PmWiki's built-in authorization function puts in a number of
> "pseudo attributes" as part of the returned page. They are:
>
> $page['=auth'][$level] - true if the visitor is authorized at
> $level
> $page['=passwd'][$level] - the value of any password field for
> $level
> $page['=pwsource'][$level] - where the password field is coming from
> (e.g., site, group, page)
>
> The (:pagelist:) code uses $page['=auth']['read'] to decide
> if the visitor has read permission to the page. It uses
> $page['=passwd']['read'] to determine if the page has any sort
> of read restrictions on it.
>
I think it is relatively easy to set the first array ('=auth'), at least
for the 'read' level. But if it has to be done for all levels (is this
so?), this would be more time-consuming. On the other hand is probably not
really needed in the next time.
More critical are the two remaining fields. Therefore the question: what
is the exact meaning of
'=protectexclude' and
'=protectsafe'
?
Thomas
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users