Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-522

Authorizable and authorization nodes applied even if filter rules exclude them

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.4.10
    • 3.7.4
    • Packaging
    • None

    Description

      Currently the filter rules are not fully evaluated prior to applying ACLs (in rep:policy and rep:repoPolicy files). According to JCRVLT-372 this is a bug. The same is true for authorizable nodes (compare with JCRVLT-71).

      The exact install behaviour is as follows (given that the ACHandling is not IGNORE):
       

        ACL Path in Filter? Effect Example ACL Path(s) Example Content Node Path(s)
      1 Contained in filter Installed /testroot/node_a/rep:policy /testroot/node_a
      2 Not contained in filter, but ancestor is contained Installed /testroot/secured/rep:policy testroot/secured
      3 Neither path nor ancestor is contained in filter Not Installed /test2/rep:policy /test2
      4 Path is not contained in filter, ancestor is not contained either, but node affected by ACLs is contained Not Installed /testroot/rep:policy /testroot

      The example columns assume the following filter.xml

      <workspaceFilter version="1.0">
          <filter root="/testroot">
             <include pattern="/testroot/secured"/>
             <include pattern="/testroot/secured/jcr:content"/>
             <include pattern="/testroot/node_a(/.*)?"/>
          </filter>
      </workspaceFilter>
      

       

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: