[pmwiki-users] recognizing read protection

Patrick R. Michaud pmichaud at pobox.com
Fri Jun 8 13:43:16 CDT 2007


On Thu, Jun 07, 2007 at 11:55:42AM -0500, Tegan Dowling wrote:
>On 6/7/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>
>  On Thu, Jun 07, 2007 at 11:38:10AM -0400, Ben Wilson wrote:
>  > Forgive me for not giving enough information, but I believe there's a
>  > Cookbook recipe that allows you to list pages with their permissions.
>
>  Starting with 2.2.0-beta52 it's in the core, at the Site.AuthList page.
>  (This may change to SiteAdmin.AuthList soon, however.)
>
> Does the new AuthList provide a mechanism for displaying whether a page is
> read-protected (or has any other attributes set) on that page?  So one can
> do
> 
>    (:if hasattribute read:)
>    Read-protected message
>    (:ifend:)

At present there's not a way to do this, no.  It is possible to
specify a "passwd=?*" option to (:pagelist:) so that only those
pages with passwords on them are displayed.

Pm



More information about the pmwiki-users mailing list