Re: PageFilter methods (and ACL)
Janne Jalkanen <[email protected]>
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
> 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.
Well, it should work. (Though I'm not sure whether I can really
recommend that practice, but yeah, I see no reason why it wouldn't
work ;-). Check if you're admin when you are doing something; that
might be an issue.
/Janne