Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APPS-2019] Added Undeletable Aspect to Data Dictionary folder #2637

Closed
wants to merge 10 commits into from
Closed
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
<cm:description>Configuration information for the Records Management application.</cm:description>
</view:properties>

<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>

<view:associations>
<cm:contains>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0">
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
xmlns:sys="http://www.alfresco.org/model/system/1.0">
<cm:folder 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:sys="http://www.alfresco.org/model/system/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="app:messages">
<view:aspects>
<app:uifacets></app:uifacets>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
<view:properties>
<cm:description>${spaces.messages.description}</cm:description>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0">
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
xmlns:sys="http://www.alfresco.org/model/system/1.0">
<cm:folder 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:sys="http://www.alfresco.org/model/system/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="app:webclient_extension">
<view:aspects>
<app:uifacets></app:uifacets>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
<view:properties>
<cm:description>${spaces.web.client.extension.description}</cm:description>
Expand Down
Binary file not shown.
Binary file modified repository/src/main/resources/alfresco/bootstrap/imapSpaces.acp
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns="">

<cm:folder view:childName="${spaces.rendition.rendering_actions.childname}">
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
<view:properties>
<sys:store-protocol>workspace</sys:store-protocol>
<sys:store-identifier>SpacesStore</sys:store-identifier>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns="">

<cm:folder view:childName="${spaces.replication.replication_actions.childname}">
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
<view:properties>
<sys:store-protocol>workspace</sys:store-protocol>
<sys:store-identifier>SpacesStore</sys:store-identifier>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns="">

<cm:folder view:childName="${spaces.scheduled_actions.childname}">
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
<view:properties>
<sys:store-protocol>workspace</sys:store-protocol>
<sys:store-identifier>SpacesStore</sys:store-identifier>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
xmlns:srft="http://www.alfresco.org/model/solrfacet/1.0" xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns="">

<srft:facets view:childName="${spaces.solr_facets.root.childname}">
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
<view:properties>
<cm:isIndexed>false</cm:isIndexed>
<sys:store-protocol>workspace</sys:store-protocol>
<sys:store-identifier>SpacesStore</sys:store-identifier>
<sys:node-uuid>solr_facets_root_space</sys:node-uuid>
<cm:name>${spaces.solr_facets.root.name}</cm:name>
<cm:title>${spaces.solr_facets.root.name}</cm:title>
<cm:description>${spaces.solr_facets.root.description}
</cm:description>
<cm:description>${spaces.solr_facets.root.description}</cm:description>
</view:properties>
</srft:facets>
</view:view>
47 changes: 44 additions & 3 deletions repository/src/main/resources/alfresco/bootstrap/spaces.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<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"
xmlns:emailserver="http://www.alfresco.org/model/emailserver/1.0">

xmlns:emailserver="http://www.alfresco.org/model/emailserver/1.0"
xmlns:sys="http://www.alfresco.org/model/system/1.0">

<!-- NOTE: all replaced properties referenced from repository.properties file must also be
mapped in the import-export-context.xml spacesStoreImporter/configuration section -->
<cm:folder view:childName="${spaces.company_home.childname}">
Expand Down Expand Up @@ -30,13 +31,21 @@
<app:icon>space-icon-default</app:icon>
<cm:title>${spaces.dictionary.name}</cm:title>
<cm:description>${spaces.dictionary.description}</cm:description>
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
<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>
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
</cm:folder>
<cm:folder
view:childName="${spaces.templates.content.childname}">
Expand All @@ -45,6 +54,10 @@
<app:icon>space-icon-default</app:icon>
<cm:title>${spaces.templates.content.name}</cm:title>
<cm:description>${spaces.templates.content.description}</cm:description>
<view:aspects>
<sys:unmovable/>
<sys:unmovable/>
</view:aspects>
</cm:folder>
<cm:folder
view:childName="${spaces.templates.email.childname}">
Expand All @@ -53,6 +66,10 @@
<app:icon>space-icon-default</app:icon>
<cm:title>${spaces.templates.email.name}</cm:title>
<cm:description>${spaces.templates.email.description}</cm:description>
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
<cm:contains>
<cm:folder
view:childName="${spaces.templates.email.invite.childname}">
Expand All @@ -79,6 +96,10 @@
<app:icon>space-icon-default</app:icon>
<cm:title>${spaces.templates.rss.name}</cm:title>
<cm:description>${spaces.templates.rss.description}</cm:description>
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
</cm:folder>
<cm:folder
view:childName="${spaces.savedsearches.childname}">
Expand All @@ -93,20 +114,32 @@
<app:icon>space-icon-default</app:icon>
<cm:title>${spaces.savedsearches.name}</cm:title>
<cm:description>${spaces.savedsearches.description}</cm:description>
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
</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:description>${saces.scripts.description}</cm:description>
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
</cm:folder>
<cm:folder view:childName="${spaces.nodetemplates.childname}">
<app:uifacets/>
<cm:name>${spaces.nodeTemplatesSpace.name}</cm:name>
<app:icon>space-icon-default</app:icon>
<cm:title>${spaces.nodeTemplatesSpace.name}</cm:title>
<cm:description>${spaces.nodeTemplatesSpace.description}</cm:description>
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
</cm:folder>
<cm:folder view:childName="${spaces.smartfolders.childname}">
<view:acl view:inherit="false">
Expand All @@ -120,6 +153,10 @@
<app:icon>space-icon-default</app:icon>
<cm:title>${spaces.smartfoldertemplates.name}</cm:title>
<cm:description>${spaces.smartfoldertemplates.description}</cm:description>
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
</cm:folder>
<cm:folder view:childName="${spaces.smartdownloads.childname}">
<view:acl view:inherit="false">
Expand All @@ -133,6 +170,10 @@
<app:icon>space-icon-default</app:icon>
<cm:title>${spaces.smartdownloads.name}</cm:title>
<cm:description>${spaces.smartdownloads.description}</cm:description>
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
</cm:folder>
</cm:contains>
</cm:folder>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
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"
xmlns:trx="http://www.alfresco.org/model/transfer/1.0">
xmlns:trx="http://www.alfresco.org/model/transfer/1.0"
xmlns:sys="http://www.alfresco.org/model/system/1.0">

<cm:folder view:childName="${spaces.transfers.childname}">
<view:aspects>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
<view:properties>
<cm:description>${spaces.transfers.description}</cm:description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<cm:folder 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:sys="http://www.alfresco.org/model/system/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="cm:webscripts">
<view:aspects>
<app:uifacets></app:uifacets>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
<view:properties>
<cm:description>${webscripts.url_addressable_web_services}</cm:description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<cm:folder 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:sys="http://www.alfresco.org/model/system/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="cm:extensionwebscripts">
<view:aspects>
<app:uifacets></app:uifacets>
<sys:undeletable/>
<sys:unmovable/>
</view:aspects>
<view:properties>
<cm:description>${webscriptsextentions.customized_web_scripts}</cm:description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1456,5 +1456,5 @@
</bean>
</property>
</bean>

</beans>