Hi I am ok, this is easy to implement and I am fine with using "-" as the indicator — we also use that prefix to indicate URLs which don't need authentication (AuthConstants.AUTH_REQUIREMENTS).
Regards Felix Am 22.01.2014 um 15:04 schrieb Carsten Ziegeler <[email protected]>: > @Felix, wdyt? > > Carsten > > > 2014/1/21 Bertrand Delacretaz <[email protected]> > >> Hi, >> >> On Tue, Jan 21, 2014 at 2:38 AM, Carsten Ziegeler <[email protected]> >> wrote: >>> ...Can we get some consensus, whether we need to specify that a resource >> is >>> hidden if a feature is enabled?... >> >> We need this to implement the "Alternate between resources based on >> feature flags" use case described at >> >> https://cwiki.apache.org/confluence/display/SLING/Sling+Feature+Flags+support >> >>> >>> The use case I heard of, is that e.g. a button/link(navigation entry is >>> switched depending whether the feature is available. If it's available >>> button A is rendered, if not button B - this could be easily done with >> two >>> resources, one enabled for the feature and the other one disabled.... >> >> That's what the above use case describes. >> >> -Bertrand >> > > > > -- > Carsten Ziegeler > [email protected]
