[pmwiki-users] recognizing read protection

Patrick R. Michaud pmichaud at pobox.com
Thu Jun 7 11:21:24 CDT 2007


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 <jabba.laci at gmail.com> 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:)
> >
> > Thanks,
> >
> >         Laszlo
> >
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> >
> 
> 
> -- 
> Ben Wilson
> "Words are the only thing which will last forever" Churchill
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users



More information about the pmwiki-users mailing list