The Init data plug-in is used to define the default data in the _.xml_ file. It includes nodes (node of jcr).
When the _org.exoplatform.services.jcr.config.RepositoryServiceConfiguration_ component is initialized, the _org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationPlugin_ component will be get and the function _addConfig_ is called. Then, the _/ks-extension/jcr/repository-configuration.xml_ file is loaded and the component _org.exoplatform.ks.common.jcr.KSDataLocation_ will be initialized. Next, the _setLocation_ function is called, setting up the workspace and repository for KS. After that, the _addPlugin_ function will be run, generating the DataLocation (some parent nodes) for Knowledge.

The following is the list of applications in Knowledge and the corresponding components used to initialize the default data.
|| Application || Component || Description ||
| *Forum* | {{KSDataLocation, ForumServiceImpl}} | Initialize default data of the Forum portlet. |
| *Answers* | {{KSDataLocation, AnswerServiceImpl}} | Initialize default data of the Answers portlet. |
| *Polls* | {{KSDataLocation, PollServiceImpl}} | Initialize default data of the Polls portlet. |

In this section, you will understand how to initialize data via the sample configurations later.

h1. Initialize the conf-part for loading repository-configuration.xml {anchor:id=KSref.InitDataConfiguration.InitializeConf-partForLoading_repository-configuration.xml_}

When the server starts, the _jcr-configuration.xml_ file is initialized. The component-plugin named addConfig will be referred to org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationPlugin to load the _war:/ks-extension/jcr/repository-configuration.xml_ file.

{code:xml}
<component-plugin>
  <!-- The name of the plugin -->
  <name>Sample RepositoryServiceConfiguration Plugin</name>
  <!-- The name of the method to call on the RepositoryServiceConfiguration 
	   in order to add the RepositoryServiceConfigurations -->
  <set-method>addConfig</set-method>
  <!-- The full qualified name of the RepositoryServiceConfigurationPlugin -->
  <type>org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationPlugin</type>
  <init-params>
    <value-param>
      <name>conf-path</name>
      <description>JCR configuration file</description>
      <value>war:/ks-extension/jcr/repository-configuration.xml</value>
    </value-param>
  </init-params>
</component-plugin>
{code}

* In which:
|| Name || Set-method || Type || Description ||
| *RepositoryService ConfigurationPlugin* | addConfig|org.exoplatform.services. jcr.impl.config.Repository ServiceConfigurationPlugin | Read the configuration of JCR data to initialize data. |

* Init-params

|| Name || Possible value || Default value || Description ||
| *conf-path* | {{string}} |war:/ks-extension/jcr/ repository- configuration.xml| The path to the _repository-configuration.xml_ file. |

h1. Initialize workspace name and repository name in storage-configuration.xml {anchor:id=KSref.InitDataConfiguration.InitializeWorkspaceName&RepositoryName}

In details:

Once the _{{{war:/ks-extension/jcr/repository-configuration.xml}}}_ file has been initialized, the server will load the _storage\-configuration.xml_ file, and the _setLocation_ function in the _org.exoplatform.ks.common.conf.DataLocationPlugin_ component will run.

{code:xml}
<external-component-plugins>
  <target-component>org.exoplatform.ks.common.jcr.KSDataLocation</target-component>
  <component-plugin>
    <name>ks.data.location</name>
    <set-method>setLocation</set-method>
    <type>org.exoplatform.ks.common.conf.DataLocationPlugin</type>
    <init-params>
      <value-param>
        <name>repository</name>
        <description>JCR repository for KS data</description>
        <value>repository</value>
      </value-param>
      <value-param>
        <name>workspace</name>
        <description>workspace for KS data</description>
        <value>knowledge</value>
      </value-param>
    </init-params>
  </component-plugin>
</external-component-plugins>
{code}

In which, 
|| Value-param || Possible value || Default value || Description ||
| *repository* | {{string}} | {{repository}} | The JCR repository for KS data. |
| *workspace* | {{string}} | {{knowledge}} | The workspace for KS data. |

h1. Initialize data {anchor:id=KSref.InitDataConfiguration.InitializeData}

Once the workspace name and repository name are registered, the server will load org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator and the _addPaths_ function in org.exoplatform.services.jcr.ext.hierarchy.impl.AddPathPlugin is called. Then, the data location will be built. 

{code:xml}
<component-plugin>
  <name>addPaths</name>
  <set-method>addPlugin</set-method>
  <type>org.exoplatform.services.jcr.ext.hierarchy.impl.AddPathPlugin</type>
  <init-params>
    <object-param>
      <name>ks.storage</name>
      <description>ks data storage tree</description>
      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig">
        <field name="repository">
          <string>repository</string>
        </field>
        <field name="workspaces">
          <collection type="java.util.ArrayList">
            <value>
              <string>knowledge</string>
            </value>
          </collection>
        </field>
        <field name="jcrPaths">
          <collection type="java.util.ArrayList">
            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>eXoApplications</string>
                </field>
                <field name="path">
                  <string>/exo:applications</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>ksUserAvatar</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ksUserAvatar</string>
                </field>
                <field name="nodeType">
                  <string>nt:unstructured</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>ForumService</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService</string>
                </field>
                <field name="nodeType">
                  <string>exo:forumHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>ForumSystem</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumSystem</string>
                </field>
                <field name="nodeType">
                  <string>exo:forumSystem</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>UserProfileHome</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumSystem/UserProfileHome</string>
                </field>
                <field name="nodeType">
                  <string>exo:userProfileHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>StatisticHome</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumSystem/StatisticHome</string>
                </field>
                <field name="nodeType">
                  <string>exo:statisticHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>forumStatistic</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumSystem/StatisticHome/forumStatistic</string>
                </field>
                <field name="nodeType">
                  <string>exo:forumStatistic</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>AdministrationHome</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumSystem/AdministrationHome</string>
                </field>
                <field name="nodeType">
                  <string>exo:administrationHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>BanIPHome</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumSystem/BanIPHome</string>
                </field>
                <field name="nodeType">
                  <string>exo:banIPHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>forumBanIP</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumSystem/BanIPHome/forumBanIP</string>
                </field>
                <field name="nodeType">
                  <string>exo:banIP</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>ForumData</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumData</string>
                </field>
                <field name="nodeType">
                  <string>exo:forumData</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>TopicTypeHome</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumData/TopicTypeHome</string>
                </field>
                <field name="nodeType">
                  <string>exo:topicTypeHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>CategoryHome</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumData/CategoryHome</string>
                </field>
                <field name="nodeType">
                  <string>exo:categoryHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>TagHome</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumData/TagHome</string>
                </field>
                <field name="nodeType">
                  <string>exo:tagHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>forumBBCode</string>
                </field>
                <field name="path">
                  <string>/exo:applications/ForumService/ForumData/forumBBCode</string>
                </field>
                <field name="nodeType">
                  <string>exo:forumBBCodeHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>faqApp</string>
                </field>
                <field name="path">
                  <string>/exo:applications/faqApp</string>
                </field>
                <field name="nodeType">
                  <string>exo:faqHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>settingHome</string>
                </field>
                <field name="path">
                  <string>/exo:applications/faqApp/settingHome</string>
                </field>
                <field name="nodeType">
                  <string>exo:faqSettingHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>userSettingHome</string>
                </field>
                <field name="path">
                  <string>/exo:applications/faqApp/settingHome/userSettingHome</string>
                </field>
                <field name="nodeType">
                  <string>exo:faqUserSettingHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>categories</string>
                </field>
                <field name="path">
                  <string>/exo:applications/faqApp/categories</string>
                </field>
                <field name="nodeType">
                  <string>exo:faqCategory</string>
                </field>
                <field name="mixinTypes">
                  <collection type="java.util.ArrayList">
                    <value>
                      <string>mix:faqSubCategory</string>
                    </value>
                  </collection>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>templateHome</string>
                </field>
                <field name="path">
                  <string>/exo:applications/faqApp/templateHome</string>
                </field>
                <field name="nodeType">
                  <string>exo:templateHome</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>eXoPolls</string>
                </field>
                <field name="path">
                  <string>/exo:applications/eXoPolls</string>
                </field>
                <field name="nodeType">
                  <string>nt:unstructured</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

            <value>
              <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
                <field name="alias">
                  <string>groupsPath</string>
                </field>
                <field name="path">
                  <string>/Groups</string>
                </field>
                <field name="permissions">
                  <collection type="java.util.ArrayList">
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>*:/platform/administrators</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>true</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>true</string>
                        </field>
                      </object>
                    </value>
                    <value>
                      <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
                        <field name="identity">
                          <string>any</string>
                        </field>
                        <field name="read">
                          <string>true</string>
                        </field>
                        <field name="addNode">
                          <string>false</string>
                        </field>
                        <field name="setProperty">
                          <string>true</string>
                        </field>
                        <field name="remove">
                          <string>false</string>
                        </field>
                      </object>
                    </value>
                  </collection>
                </field>
              </object>
            </value>

          </collection>
        </field>
      </object>
    </object-param>
  </init-params>
</component-plugin>
{code}