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

[Backport 7.9] Align hippo compound read access between the authorization configuration and the access manager

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.26.22
    • None
    • None
    • Platform Sprint 138

    Description

      Because hippo compounds are always below documents, the readability of the compound depends on the readability of documents (namely the access mngr gives read access to all nodes below hippo documents).

      To align compounds in the authorization configuration with the access manager, we need to add to /hippo:configuration/hippo:domains/defaultread the bootstrap node

      <?xml version="1.0" encoding="UTF-8"?>
      <sv:node sv:name="hippo-compound" xmlns:sv="http://www.jcp.org/jcr/sv/1.0">
        <sv:property sv:name="jcr:primaryType" sv:type="Name">
          <sv:value>hipposys:domainrule</sv:value>
        </sv:property>
        <sv:node sv:name="type-hippo-compound">
          <sv:property sv:name="jcr:primaryType" sv:type="Name">
            <sv:value>hipposys:facetrule</sv:value>
          </sv:property>
          <sv:property sv:name="hipposys:equals" sv:type="Boolean">
            <sv:value>true</sv:value>
          </sv:property>
          <sv:property sv:name="hipposys:facet" sv:type="String">
            <sv:value>nodetype</sv:value>
          </sv:property>
          <sv:property sv:name="hipposys:filter" sv:type="Boolean">
            <sv:value>false</sv:value>
          </sv:property>
          <sv:property sv:name="hipposys:type" sv:type="String">
            <sv:value>Name</sv:value>
          </sv:property>
          <sv:property sv:name="hipposys:value" sv:type="String">
            <sv:value>hippo:compound</sv:value>
          </sv:property>
        </sv:node>
      </sv:node>
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: