Hi Robert,
... I would rather see it named org.apache.sling.jcr.oak-restrictions and placed under contrib/jcr .
That sounds like a better location, +1 to move
There was some discussion related to the name of the 'sling:resourceTypesWithChildren' restriction [1]. I want to make sure that we have agreement that this is the best name
I think sling:resourceTypesWithChildren is the clearest suggestion up to now ([1] gives an example). From a pure user point of view, the terms "parent" or "ancestry" would be rather misleading, because what is matched by the restriction in the end are nodes below (and not above) the matched node with the given resource type, e.g. the restriction matches a node with resource type "myproj/news" with (or including) all children.
Regards Georg [1] https://sling.apache.org/documentation/bundles/sling-oak-restrictions.html#restriction-slingresourcetypeswithchildren
