On 6/7/07, Patrick R. Michaud <[EMAIL PROTECTED]> 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.) Pm > On 6/7/07, Jabba Laci <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I use PmWiki to manage my personal homepage. Some pages that I don't > > want to share with everyone are password protected. The problem is > > that as more and more pages are created, it is more and more difficult > > to keep in mind which pages are protected. > > I would like to do the following. When a page is read protected, I > > want to print some warning message on the top of the page. This way it > > would be very easy to notice if I forgot to protect a private page. > > So my question is: how to ask whether the current page is read > > protected or not? I would imagine something like this: > > (:if isPageReadProtected:) > > (: printPageReadProtectedMessage :) > > (:endif:)
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:) ?
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
