On 6/7/07, <b class="gmail_sendername">Patrick R. Michaud</b> &lt;<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>&gt; 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>&gt; Forgive me for not giving enough information, but I believe there&#39;s a<br>&gt; Cookbook recipe that allows you to list pages with their permissions.<br>
<br>Starting with 2.2.0-beta52 it&#39;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>&gt; On 6/7/07, Jabba Laci &lt;<a href="mailto:jabba.laci@gmail.com">
jabba.laci@gmail.com</a>&gt; wrote:<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; I use PmWiki to manage my personal homepage. Some pages that I don&#39;t<br>&gt; &gt; want to share with everyone are password protected. The problem is
<br>&gt; &gt; that as more and more pages are created, it is more and more difficult<br>&gt; &gt; to keep in mind which pages are protected.<br>&gt; &gt; I would like to do the following. When a page is read protected, I<br>
&gt; &gt; want to print some warning message on the top of the page. This way it<br>&gt; &gt; would be very easy to notice if I forgot to protect a private page.<br>&gt; &gt; So my question is: how to ask whether the current page is read
<br>&gt; &gt; protected or not? I would imagine something like this:<br>&gt; &gt; (:if isPageReadProtected:)<br>&gt; &gt; (: printPageReadProtectedMessage :)<br>&gt; &gt; (: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?&nbsp; So one can do
<br><br>(:if hasattribute read:)<br>Read-protected message<br>(:ifend:)<br><br>?<br></div><br></div>