How about using an approach similar to ChannelVisibilityContentDecorator? You 
could extend NodePredicateContentDecorator and place your logic in there. Then 
you would extend RenderingFilter and override the isVisible(..) method. In 
there you would wrap content with your decorator and let it evaluate if it is 
visible or not to the current user.

HTH,

Federico

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=0f30a282-75c7-42ed-a73c-9379248d173b


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to