Re: PageFilter methods (and ACL)

Terry Steichen <[email protected]>
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
I suspect you may be bumping up against a caching issue.  Try using the 
getRealPage() (or something like that - I don't recall the specific 
API), which reaches down to the actual stored page.

Tim Koop wrote:
> I'm trying to do some custom page access controls, and I thought it 
> might work to add some custom ACL text to a page using a PageFilter.  
> I've tried adding something like [{ALLOW view tim}] to the end of the 
> content using the preTranslate method, but it doesn't seem to work.
>
> Any thoughts?  Is this even possible?  Should I try a different method?
>
> Thanks a lot.
>
> -- 
> Tim Koop
> _______________________________________________
> This is the Jspwiki-users mailing list, in which we discuss the stable 
> release (even-numbered, 2.4.x, 2.6.x), and user-issues. For 
> development discussion, please join jspwiki-dev.
> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> http://www.jspwiki.org/JSPWikiMailingList
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.