On 6/7/07, <b class="gmail_sendername">Patrick R. Michaud</b> <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Jun 07, 2007 at 11:38:10AM -0400, Ben Wilson wrote:<br>> Forgive me for not giving enough information, but I believe there's a<br>> Cookbook recipe that allows you to list pages with their permissions.<br>
<br>Starting with 2.2.0-beta52 it's in the core, at the Site.AuthList page.<br>(This may change to SiteAdmin.AuthList soon, however.)<br><br>Pm<br><br><br><br>> On 6/7/07, Jabba Laci <<a href="mailto:jabba.laci@gmail.com">
jabba.laci@gmail.com</a>> wrote:<br>> > Hi,<br>> ><br>> > I use PmWiki to manage my personal homepage. Some pages that I don't<br>> > want to share with everyone are password protected. The problem is
<br>> > that as more and more pages are created, it is more and more difficult<br>> > to keep in mind which pages are protected.<br>> > I would like to do the following. When a page is read protected, I<br>
> > want to print some warning message on the top of the page. This way it<br>> > would be very easy to notice if I forgot to protect a private page.<br>> > So my question is: how to ask whether the current page is read
<br>> > protected or not? I would imagine something like this:<br>> > (:if isPageReadProtected:)<br>> > (: printPageReadProtectedMessage :)<br>> > (:endif:)</blockquote><div><br>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
<br><br>(:if hasattribute read:)<br>Read-protected message<br>(:ifend:)<br><br>?<br></div><br></div>