Very nicely done. Clever approach and clean implementation. On Thu, 2008-06-26 at 16:05 +0100, Weijian Fang wrote:
> An ACL filter is implemented and tested on JSPWiki 2.6.2, see > http://www.jspwiki.org/wiki/ACLFilter. Thanks! > > Cheers, > > Weijian > > > 2008/6/11 Weijian Fang <[EMAIL PROTECTED]>: > > Janne, > > > > Thank you very much! > > > > Cheers, > > > > Weijian > > > > > > 2008/6/11 Janne Jalkanen <[EMAIL PROTECTED]>: > >>>> This should work. It's probably easier to simply reject edits which are > >>>> trying to mess your ACLs; then you don't have to parse/fix things too > >>>> much. > >>>> > >>> How to reject edits in the preSave method? > >> > >> Throw a RedirectException(). Check out the SpamFilter for an example. > >> > >> /Janne > >> > >
