Last active
August 29, 2015 13:57
-
-
Save wouterd/9785643 to your computer and use it in GitHub Desktop.
Addition to Hippo's defaultread domain to allow users to read their own groups.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?><sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:h="http://www.onehippo.org/jcr/xmlimport" sv:name="defaultread" h:merge="combine"> | |
<sv:node sv:name="mygroups"> | |
<sv:property sv:name="jcr:primaryType" sv:type="Name"> | |
<sv:value>hipposys:domainrule</sv:value> | |
</sv:property> | |
<sv:node sv:name="match-members-with-username"> | |
<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>hipposys:members</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>String</sv:value> | |
</sv:property> | |
<sv:property sv:name="hipposys:value" sv:type="String"> | |
<sv:value>__user__</sv:value> | |
</sv:property> | |
</sv:node> | |
<sv:node sv:name="type-hippo-group"> | |
<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>hipposys:group</sv:value> | |
</sv:property> | |
</sv:node> | |
</sv:node> | |
<sv:node sv:name="hippo-groupfolder"> | |
<sv:property sv:name="jcr:primaryType" sv:type="Name"> | |
<sv:value>hipposys:domainrule</sv:value> | |
</sv:property> | |
<sv:node sv:name="type-hippo-groupfolder"> | |
<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>jcr:primaryType</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>hipposys:groupfolder</sv:value> | |
</sv:property> | |
</sv:node> | |
</sv:node> | |
</sv:node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sv:node sv:name="bugaboo-cms-hippo-configuration-hippo-domains-defaultread"> | |
<sv:property sv:name="jcr:primaryType" sv:type="Name"> | |
<sv:value>hippo:initializeitem</sv:value> | |
</sv:property> | |
<sv:property sv:name="hippo:sequence" sv:type="Double"> | |
<sv:value>30000.3</sv:value> | |
</sv:property> | |
<sv:property sv:name="hippo:contentresource" sv:type="String"> | |
<sv:value>configuration/domains/defaultread.xml</sv:value> | |
</sv:property> | |
<sv:property sv:name="hippo:contentroot" sv:type="String"> | |
<sv:value>/hippo:configuration/hippo:domains</sv:value> | |
</sv:property> | |
</sv:node> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment