Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-2215

Support hierarchical domain constraint on not (yet) existing paths

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.0.0
    • None
    • None

    Description

      Since we are going the restructure the existing 'aspect oriented' security model to a more hierarchical based model (combined with aspects to possibly blacklist descendants), it is not unlikely that we for example want to have a security domain per channel. For example for /hst:myproject/hst:configurations/mychannel. However, if we add that one, for sure we also want to be able to configure /hst:myproject/hst:configurations/mychannel-preview...which quite likely does initially not exist! Therefor we need to be able to support non-existing-paths for the hierarchical domains as well. For example

      /mychannel-preview:
            jcr:primaryType: hipposys:facetrule
            hipposys:equals: true
            hipposys:facet: jcr:path
            hipposys:filter: false
            hipposys:type: Reference
            hipposys:value: /hst:myproject/hst:configurations/mychannel-preview
      

      should work as follows:

      1. If /hst:myproject/hst:configurations/mychannel-preview exists, the rule matches '/hst:myproject/hst:configurations/mychannel-preview' and descendants
      2. If /hst:myproject/hst:configurations/mychannel-preview does not exist, the rule doesn't match
      3. If /hst:myproject/hst:configurations/mychannel-preview does not exist but later on gets added, then
        1. The facet rule for /hst:myproject/hst:configurations/mychannel-preview should start to match thus if for example the role is 'read access' for user A, then user A should have read access on and below mychannel-preview
        2. Searches for user A on and below mychannel-preview must work (aka, the Authorization query should be updated!)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: