Georg Henzler created SLING-6042: ------------------------------------ Summary: Use sling:resourceTypesWithDescendants instead of sling:resourceTypesWithChildren Key: SLING-6042 URL: https://issues.apache.org/jira/browse/SLING-6042 Project: Sling Issue Type: Improvement Components: Extensions Reporter: Georg Henzler Assignee: Robert Munteanu Fix For: Oak Restrictions 1.0.0
After some discussion at [1], the current version of the oak restrictions initially committed with SLING-5768 should be updated to use sling:resourceTypesWithDescendants instead of sling:resourceTypesWithChildren (the latter is semantically not correct as not only the children are matched but all descendants, thanks [~jsedding] for pointing this out). The documentation has already been updated via SLING-5890 and is available at [2] [1] https://www.mail-archive.com/dev@sling.apache.org/msg58935.html [2] https://sling.apache.org/documentation/bundles/sling-oak-restrictions.html -- This message was sent by Atlassian JIRA (v6.3.4#6332)