<?xml version="1.0" encoding="ISO-8859-1"?>
<configuration
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
  xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">
  
  <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>workspace</name>
          <description>workspace for KS data</description>
          <value>knowledge</value>
        </value-param>
      </init-params>
    </component-plugin>
  </external-component-plugins>  
  
  <external-component-plugins>
    <target-component>org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator</target-component>
    <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="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>
  </external-component-plugins>
 
</configuration>