On Tue, Dec 10, 2013 at 11:45 AM, Carsten Ziegeler <cziege...@apache.org> wrote: > ...I think it has been mentioned as well, ResourceAccessGate does exactly what > is needed for handling frags on resources - it filters and allows to return > null (deny access) based on some implementation. So why aren't we using > this?...
IIRC the comments were that ResourceAccessGate has to be wired for each ResourceProvider - if there's a way to define "global" ResourceAccessGates that might work. I have added a few basic use cases at https://cwiki.apache.org/confluence/display/SLING/Sling+Feature+Flags+support, I guess we're mostly looking at "show/hide Resources" here which might cover "alter resource rendering" as well, but caching of rendering scripts is an issue. -Bertrand