mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Guest and LDAP progress
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2127 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
26
config/alfresco/bootstrap/alfrescoUserStore.xml
Normal file
26
config/alfresco/bootstrap/alfrescoUserStore.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
|
||||
xmlns:cm="http://www.alfresco.org/model/content/1.0"
|
||||
xmlns:sys="http://www.alfresco.org/model/system/1.0"
|
||||
xmlns:usr="http://www.alfresco.org/model/user/1.0"
|
||||
xmlns:app="http://www.alfresco.org/model/application/1.0">
|
||||
|
||||
<sys:container view:childName="${alfresco_user_store.system_container.childname}">
|
||||
<sys:children>
|
||||
<sys:container view:childName="${alfresco_user_store.user_container.childname}">
|
||||
<sys:children>
|
||||
<usr:user view:childName="usr:user">
|
||||
<usr:username>admin</usr:username>
|
||||
<usr:password>209c6174da490caeb422f3fa5a7ae634</usr:password>
|
||||
<usr:enabled>true</usr:enabled>
|
||||
<usr:accountExpires>false</usr:accountExpires>
|
||||
<usr:credentialsExpire>false</usr:credentialsExpire>
|
||||
<usr:accountLocked>false</usr:accountLocked>
|
||||
</usr:user>
|
||||
</sys:children>
|
||||
</sys:container>
|
||||
<sys:container view:childName="${alfresco_user_store.authorities_container.childname}">
|
||||
</sys:container>
|
||||
</sys:children>
|
||||
</sys:container>
|
||||
|
||||
</view:view>
|
@@ -5,6 +5,12 @@
|
||||
<!-- NOTE: all replaced properties referenced from repository.properties file must also be
|
||||
mapped in the application-context.xml importerBootstrap/configuration section -->
|
||||
<cm:folder view:childName="${spaces.company_home.childname}">
|
||||
<view:acl view:inherit="false">
|
||||
<view:ace view:access="ALLOWED">
|
||||
<view:authority>GROUP_EVERYONE</view:authority>
|
||||
<view:permission>Read</view:permission>
|
||||
</view:ace>
|
||||
</view:acl>
|
||||
<app:uifacets />
|
||||
<cm:name>${spaces.company_home.name}</cm:name>
|
||||
<app:icon>space-icon-default</app:icon>
|
||||
@@ -41,6 +47,23 @@
|
||||
</cm:folder>
|
||||
</cm:contains>
|
||||
</cm:folder>
|
||||
<cm:folder view:childName="${spaces.guest_home.childname}">
|
||||
<view:acl view:inherit="false">
|
||||
<view:ace view:access="ALLOWED">
|
||||
<view:authority>Guest</view:authority>
|
||||
<view:permission>Read</view:permission>
|
||||
</view:ace>
|
||||
<view:ace view:access="ALLOWED">
|
||||
<view:authority>GROUP_EVERYONE</view:authority>
|
||||
<view:permission>Read</view:permission>
|
||||
</view:ace>
|
||||
</view:acl>
|
||||
<app:uifacets />
|
||||
<cm:name>${spaces.guest_home.name}</cm:name>
|
||||
<app:icon>space-icon-default</app:icon>
|
||||
<cm:title>${spaces.guest_home.name}</cm:title>
|
||||
<cm:description>${spaces.guest_home.description}</cm:description>
|
||||
</cm:folder>
|
||||
</cm:contains>
|
||||
</cm:folder>
|
||||
|
||||
|
31
config/alfresco/bootstrap/system.xml
Normal file
31
config/alfresco/bootstrap/system.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
|
||||
xmlns:cm="http://www.alfresco.org/model/content/1.0"
|
||||
xmlns:sys="http://www.alfresco.org/model/system/1.0"
|
||||
xmlns:app="http://www.alfresco.org/model/application/1.0">
|
||||
|
||||
<sys:container view:childName="${system.system_container.childname}">
|
||||
<sys:children>
|
||||
<sys:container view:childName="${system.people_container.childname}">
|
||||
<sys:children>
|
||||
<cm:person view:childName="cm:person">
|
||||
<cm:userName>admin</cm:userName>
|
||||
<cm:firstName>Administrator</cm:firstName>
|
||||
<cm:lastName></cm:lastName>
|
||||
<cm:email></cm:email>
|
||||
<cm:organizationId></cm:organizationId>
|
||||
<cm:homeFolder>/${spaces.company_home.childname}</cm:homeFolder>
|
||||
</cm:person>
|
||||
<cm:person view:childName="cm:person">
|
||||
<cm:userName>Guest</cm:userName>
|
||||
<cm:firstName>Guest</cm:firstName>
|
||||
<cm:lastName></cm:lastName>
|
||||
<cm:email></cm:email>
|
||||
<cm:organizationId></cm:organizationId>
|
||||
<cm:homeFolder>/${spaces.company_home.childname}/${spaces.guest_home.childname}</cm:homeFolder>
|
||||
</cm:person>
|
||||
</sys:children>
|
||||
</sys:container>
|
||||
</sys:children>
|
||||
</sys:container>
|
||||
|
||||
</view:view>
|
@@ -2,12 +2,14 @@
|
||||
xmlns:cm="http://www.alfresco.org/model/content/1.0"
|
||||
xmlns:app="http://www.alfresco.org/model/application/1.0">
|
||||
|
||||
<!--
|
||||
<cm:folder>
|
||||
<app:uifacets />
|
||||
<cm:name>${tutorial.space.name}</cm:name>
|
||||
<cm:description>${tutorial.space.description}</cm:description>
|
||||
<app:icon>space-icon-doc</app:icon>
|
||||
<cm:contains>
|
||||
-->
|
||||
<cm:content>
|
||||
<app:uifacets />
|
||||
<cm:name>${tutorial.document.name}</cm:name>
|
||||
@@ -15,7 +17,9 @@
|
||||
<cm:description>${tutorial.document.description}</cm:description>
|
||||
<cm:content>contentUrl=classpath:alfresco/bootstrap/${tutorial.document.name}|mimetype=application/pdf|size=|encoding=</cm:content>
|
||||
</cm:content>
|
||||
<!--
|
||||
</cm:contains>
|
||||
</cm:folder>
|
||||
-->
|
||||
|
||||
</view:view>
|
||||
|
Reference in New Issue
Block a user