Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10228

Unused property PROP_NODETYPES in AclLine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Repoinit
    • None

    Description

      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:

          # 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)
      

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: