mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Creation of a 'Projects' folder under Company Home during bootstrap and patch for existing systems
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7506 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -234,6 +234,12 @@
|
|||||||
<prop key="location">alfresco/bootstrap/formsSpace.xml</prop>
|
<prop key="location">alfresco/bootstrap/formsSpace.xml</prop>
|
||||||
</props>
|
</props>
|
||||||
|
|
||||||
|
<props>
|
||||||
|
<prop key="path">/${spaces.company_home.childname}</prop>
|
||||||
|
<prop key="location">alfresco/bootstrap/projectsSpace.xml</prop>
|
||||||
|
<prop key="messages">alfresco/messages/bootstrap-spaces</prop>
|
||||||
|
</props>
|
||||||
|
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
16
config/alfresco/bootstrap/projectsSpace.xml
Normal file
16
config/alfresco/bootstrap/projectsSpace.xml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0">
|
||||||
|
<cm:folder xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:alf="http://www.alfresco.org" xmlns:d="http://www.alfresco.org/model/dictionary/1.0" xmlns:view="http://www.alfresco.org/view/repository/1.0" xmlns:act="http://www.alfresco.org/model/action/1.0" xmlns:wf="http://www.alfresco.org/model/workflow/1.0" xmlns:app="http://www.alfresco.org/model/application/1.0" xmlns:ver="http://www.alfresco.org/model/versionstore/1.0" xmlns:usr="http://www.alfresco.org/model/user/1.0" xmlns:cm="http://www.alfresco.org/model/content/1.0" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:wcm="http://www.alfresco.org/model/wcmmodel/1.0" xmlns:wca="http://www.alfresco.org/model/wcmappmodel/1.0" xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns:wcmwf="http://www.alfresco.org/model/wcmworkflow/1.0" xmlns:rule="http://www.alfresco.org/model/rule/1.0" xmlns:fm="http://www.alfresco.org/model/forum/1.0" xmlns:bpm="http://www.alfresco.org/model/bpm/1.0" xmlns:custom="custom.model" xmlns="" view:childName="${spaces.projects.childname}">
|
||||||
|
<view:acl>
|
||||||
|
<view:ace view:access="ALLOWED">
|
||||||
|
<view:authority>GROUP_EVERYONE</view:authority>
|
||||||
|
<view:permission>Contributor</view:permission>
|
||||||
|
</view:ace>
|
||||||
|
</view:acl>
|
||||||
|
<app:uifacets/>
|
||||||
|
<cm:name>${spaces.projects.name}</cm:name>
|
||||||
|
<app:icon>space-icon-default</app:icon>
|
||||||
|
<cm:title>${spaces.projects.name}</cm:title>
|
||||||
|
<cm:description>${spaces.projects.description}</cm:description>
|
||||||
|
</cm:folder>
|
||||||
|
</view:view>
|
@@ -319,6 +319,7 @@
|
|||||||
<prop key="spaces.wcm_content_forms.childname">${spaces.wcm_content_forms.childname}</prop>
|
<prop key="spaces.wcm_content_forms.childname">${spaces.wcm_content_forms.childname}</prop>
|
||||||
<prop key="spaces.content_forms.childname">${spaces.content_forms.childname}</prop>
|
<prop key="spaces.content_forms.childname">${spaces.content_forms.childname}</prop>
|
||||||
<prop key="spaces.user_homes.childname">${spaces.user_homes.childname}</prop>
|
<prop key="spaces.user_homes.childname">${spaces.user_homes.childname}</prop>
|
||||||
|
<prop key="spaces.projects.childname">${spaces.projects.childname}</prop>
|
||||||
</props>
|
</props>
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
@@ -38,3 +38,6 @@ spaces.user_homes.description=User Homes
|
|||||||
|
|
||||||
spaces.content_forms.name=Forms
|
spaces.content_forms.name=Forms
|
||||||
spaces.content_forms.description=Content Forms
|
spaces.content_forms.description=Content Forms
|
||||||
|
|
||||||
|
spaces.projects.name=Projects
|
||||||
|
spaces.projects.description=Project Collaboration Spaces
|
@@ -1166,4 +1166,26 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
<bean id="patch.projectsFolder" class="org.alfresco.repo.admin.patch.impl.GenericBootstrapPatch" parent="basePatch" >
|
||||||
|
<property name="id"><value>patch.projectsFolder</value></property>
|
||||||
|
<property name="description"><value>patch.formsFolder.description</value></property>
|
||||||
|
<property name="fixesFromSchema"><value>0</value></property>
|
||||||
|
<property name="fixesToSchema"><value>114</value></property>
|
||||||
|
<property name="targetSchema"><value>115</value></property>
|
||||||
|
<!-- bootstrap view -->
|
||||||
|
<property name="importerBootstrap">
|
||||||
|
<ref bean="spacesBootstrap" />
|
||||||
|
</property>
|
||||||
|
<property name="checkPath">
|
||||||
|
<value>/${spaces.company_home.childname}/app:projects</value>
|
||||||
|
</property>
|
||||||
|
<property name="bootstrapView">
|
||||||
|
<props>
|
||||||
|
<prop key="path">/${spaces.company_home.childname}</prop>
|
||||||
|
<prop key="location">alfresco/bootstrap/projectsSpace.xml</prop>
|
||||||
|
<prop key="messages">alfresco/messages/bootstrap-spaces</prop>
|
||||||
|
</props>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
@@ -149,6 +149,7 @@ spaces.wcm.childname=app:wcm
|
|||||||
spaces.wcm_content_forms.childname=app:wcm_forms
|
spaces.wcm_content_forms.childname=app:wcm_forms
|
||||||
spaces.content_forms.childname=app:forms
|
spaces.content_forms.childname=app:forms
|
||||||
spaces.user_homes.childname=app:user_homes
|
spaces.user_homes.childname=app:user_homes
|
||||||
|
spaces.projects.childname=app:projects
|
||||||
|
|
||||||
# Folders for storing people
|
# Folders for storing people
|
||||||
system.system_container.childname=sys:system
|
system.system_container.childname=sys:system
|
||||||
|
@@ -19,4 +19,4 @@ version.build=@build-number@
|
|||||||
|
|
||||||
# Schema number
|
# Schema number
|
||||||
|
|
||||||
version.schema=114
|
version.schema=115
|
||||||
|
Reference in New Issue
Block a user