<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
	xmlns:cm="http://www.alfresco.org/model/content/1.0"
	xmlns:app="http://www.alfresco.org/model/application/1.0">
	
	<!-- NOTE: all replaced properties referenced from repository.properties file must also be
	
	mapped in the bootstrap-context.xml spacesBootstrap/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>Consumer</view:permission>
			</view:ace>
		</view:acl>
		<app:uifacets/>
		<cm:name>${spaces.company_home.name}</cm:name>
		<app:icon>space-icon-default</app:icon>
		<cm:title>${spaces.company_home.name}</cm:title>
		<cm:description>${spaces.company_home.description}</cm:description>
		<cm:contains>
			<cm:folder view:childName="${spaces.dictionary.childname}">
            <view:acl view:inherit="false">
               <view:ace view:access="ALLOWED">
                  <view:authority>GROUP_EVERYONE</view:authority>
                  <view:permission>Consumer</view:permission>
               </view:ace>
            </view:acl>
				<app:uifacets/>
				<cm:name>${spaces.dictionary.name}</cm:name>
				<app:icon>space-icon-default</app:icon>
				<cm:title>${spaces.dictionary.name}</cm:title>
				<cm:description>${spaces.dictionary.description}</cm:description>
				<cm:contains>
					<cm:folder view:childName="${spaces.templates.childname}">
						<app:uifacets/>
						<cm:name>${spaces.templates.name}</cm:name>
						<app:icon>space-icon-default</app:icon>
						<cm:title>${spaces.templates.name}</cm:title>
						<cm:description>${spaces.templates.description}</cm:description>
					</cm:folder>
					<cm:folder
						view:childName="${spaces.templates.content.childname}">
						<app:uifacets/>
						<cm:name>${spaces.templates.content.name}</cm:name>
						<app:icon>space-icon-default</app:icon>
						<cm:title>${spaces.templates.content.name}</cm:title>
						<cm:description>${spaces.templates.content.description}</cm:description>
					</cm:folder>
					<cm:folder
						view:childName="${spaces.templates.email.childname}">
						<app:uifacets/>
						<cm:name>${spaces.templates.email.name}</cm:name>
						<app:icon>space-icon-default</app:icon>
						<cm:title>${spaces.templates.email.name}</cm:title>
						<cm:description>${spaces.templates.email.description}</cm:description>
					</cm:folder>
					<cm:folder
						view:childName="${spaces.templates.rss.childname}">
						<view:acl>
							<view:ace view:access="ALLOWED">
								<view:authority>guest</view:authority>
								<view:permission>Consumer</view:permission>
							</view:ace>
						</view:acl>
						<app:uifacets/>
						<cm:name>${spaces.templates.rss.name}</cm:name>
						<app:icon>space-icon-default</app:icon>
						<cm:title>${spaces.templates.rss.name}</cm:title>
						<cm:description>${spaces.templates.rss.description}</cm:description>
					</cm:folder>
					<cm:folder
						view:childName="${spaces.savedsearches.childname}">
						<view:acl view:inherit="false">
							<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.savedsearches.name}</cm:name>
						<app:icon>space-icon-default</app:icon>
						<cm:title>${spaces.savedsearches.name}</cm:title>
						<cm:description>${spaces.savedsearches.description}</cm:description>
					</cm:folder>
					<cm:folder view:childName="${spaces.scripts.childname}">
						<app:uifacets/>
						<cm:name>${spaces.scripts.name}</cm:name>
						<app:icon>space-icon-default</app:icon>
						<cm:title>${spaces.scripts.name}</cm:title>
						<cm:description>${spaces.scripts.description}</cm:description>
					</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>Consumer</view:permission>
					</view:ace>
					<view:ace view:access="ALLOWED">
						<view:authority>GROUP_EVERYONE</view:authority>
						<view:permission>Consumer</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:folder view:childName="${spaces.user_homes.childname}">
				<app:uifacets/>
				<cm:name>${spaces.user_homes.name}</cm:name>
				<app:icon>space-icon-default</app:icon>
				<cm:title>${spaces.user_homes.name}</cm:title>
				<cm:description>${spaces.user_homes.description}</cm:description>
			</cm:folder>
		</cm:contains>
	</cm:folder>
	
</view:view>