You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Angela Schreiber (Jira)" <ji...@apache.org> on 2021/03/17 12:21:00 UTC

[jira] [Created] (SLING-10228) Unused property PROP_NODETYPES in AclLine

Angela Schreiber created SLING-10228:
----------------------------------------

             Summary: Unused property PROP_NODETYPES in AclLine
                 Key: SLING-10228
                 URL: https://issues.apache.org/jira/browse/SLING-10228
             Project: Sling
          Issue Type: Bug
          Components: Repoinit
            Reporter: Angela Schreiber


while performing some initial investigations for SLING-10219, i noticed that {{AclLine}} comes with a property {{AclLine.PROP_NODETYPES}}.

while i found the following example in _test-33.txt_ , i couldn't find any usage in _org.apache.sling.jcr.repoinit_ or a more detailed explanation:

{code}
    # Optional nodetypes clause
    deny jcr:lockManagement on /apps, /content nodetypes sling:Folder, nt:unstructured
    # nodetypes clause with restriction clause
    deny jcr:modifyProperties on /apps, /content nodetypes sling:Folder, nt:unstructured restriction(rep:itemNames,prop1,prop2)
{code}
    
therefore, i am bit lost what the intention behind that optional 'nodetypes' property would be in the first place as there exists no 'nodetypes' property with any type of access control entry defined by either JCR or Jackrabbit API.

i would therefore suggest to deprecate and ignore it upon parsing. 







--
This message was sent by Atlassian Jira
(v8.3.4#803005)