Skip to content

Commit

Permalink
feat: feat: Define Space Site Templates to import in startup time - M…
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker authored and exo-swf committed Nov 4, 2024
1 parent bdc1184 commit 046a36a
Show file tree
Hide file tree
Showing 21 changed files with 139 additions and 181 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_11 http://www.gatein.org/xml/ns/gatein_objects_1_11"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_11">
<portal-name>@owner@</portal-name>
<portal-name>@owner_id@</portal-name>
<displayed>false</displayed>
<locale>en</locale>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<portal-layout>
<page-body />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
<name>home</name>
<label>#{portal.global.spaceHome}</label>
<icon>fas fa-home</icon>
<page-reference>group::@owner@::home</page-reference>
<page-reference>group_template::announcement::home</page-reference>
<node>
<name>members</name>
<label>#{portal.global.spaceMembers}</label>
<icon>fas fa-users</icon>
<page-reference>group::@owner@::members</page-reference>
<page-reference>group_template::announcement::members</page-reference>
</node>
<node>
<name>more</name>
Expand All @@ -45,19 +45,19 @@
<name>tasks</name>
<label>#{portal.global.spaceTasks}</label>
<icon>fas fa-tasks</icon>
<page-reference>group::@owner@::tasks</page-reference>
<page-reference>group_template::announcement::tasks</page-reference>
</node>
<node>
<name>notes</name>
<label>#{portal.global.spaceNotes}</label>
<icon>far fa-clipboard</icon>
<page-reference>group::@owner@::notes</page-reference>
<page-reference>group_template::announcement::notes</page-reference>
</node>
<node>
<name>settings</name>
<label>#{portal.global.spaceSettings}</label>
<icon>fas fa-cog</icon>
<page-reference>group::@owner@::settings</page-reference>
<page-reference>group_template::announcement::settings</page-reference>
</node>
</node>
</node>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<page>
<name>home</name>
<title>Home</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl"><!-- To be deleted once WebUI is cleaned from Meeds package -->
<section-columns>
Expand Down Expand Up @@ -86,7 +86,7 @@
<page profiles="task">
<name>tasks</name>
<title>Tasks</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
Expand Down Expand Up @@ -114,7 +114,7 @@
<page profiles="notes">
<name>notes</name>
<title>Notes</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
Expand Down Expand Up @@ -142,7 +142,7 @@
<page>
<name>members</name>
<title>Space Members</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
Expand Down Expand Up @@ -170,7 +170,7 @@
<page>
<name>settings</name>
<title>Space Settings</title>
<access-permissions>manager:@owner@</access-permissions>
<access-permissions>manager:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_11 http://www.gatein.org/xml/ns/gatein_objects_1_11"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_11">
<portal-name>@owner@</portal-name>
<portal-name>@owner_id@</portal-name>
<displayed>false</displayed>
<locale>en</locale>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<portal-layout>
<page-body />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
<name>home</name>
<label>#{portal.global.spaceHome}</label>
<icon>fas fa-home</icon>
<page-reference>group::@owner@::home</page-reference>
<page-reference>group_template::circle::home</page-reference>
<node>
<name>members</name>
<label>#{portal.global.spaceMembers}</label>
<icon>fas fa-users</icon>
<page-reference>group::@owner@::members</page-reference>
<page-reference>group_template::circle::members</page-reference>
</node>
<node>
<name>apps</name>
Expand All @@ -45,13 +45,13 @@
<name>tasks</name>
<label>#{portal.global.spaceTasks}</label>
<icon>fas fa-tasks</icon>
<page-reference>group::@owner@::tasks</page-reference>
<page-reference>group_template::circle::tasks</page-reference>
</node>
<node>
<name>notes</name>
<label>#{portal.global.spaceNotes}</label>
<icon>far fa-clipboard</icon>
<page-reference>group::@owner@::notes</page-reference>
<page-reference>group_template::circle::notes</page-reference>
</node>
</node>
</node>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<page>
<name>home</name>
<title>Home</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl"><!-- To be deleted once WebUI is cleaned from Meeds package -->
<section-columns
Expand Down Expand Up @@ -68,7 +68,7 @@
<page profiles="task">
<name>tasks</name>
<title>Tasks</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
Expand Down Expand Up @@ -96,7 +96,7 @@
<page profiles="notes">
<name>notes</name>
<title>Notes</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
Expand Down Expand Up @@ -124,7 +124,7 @@
<page>
<name>members</name>
<title>Space Members</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_11 http://www.gatein.org/xml/ns/gatein_objects_1_11"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_11">
<portal-name>@owner@</portal-name>
<portal-name>@owner_id@</portal-name>
<displayed>false</displayed>
<locale>en</locale>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<portal-layout>
<page-body />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
<name>home</name>
<label>#{portal.global.spaceHome}</label>
<icon>fas fa-home</icon>
<page-reference>group::@owner@::home</page-reference>
<page-reference>group_template::community::home</page-reference>
<node>
<name>notes</name>
<label>#{portal.global.spaceNotes}</label>
<icon>far fa-clipboard</icon>
<page-reference>group::@owner@::notes</page-reference>
<page-reference>group_template::community::notes</page-reference>
</node>
<node>
<name>more</name>
Expand All @@ -45,19 +45,19 @@
<name>wallet</name>
<label>#{portal.global.spaceWallet}</label>
<icon>fas fa-wallet</icon>
<page-reference>group::@owner@::wallet</page-reference>
<page-reference>group_template::community::wallet</page-reference>
</node>
<node>
<name>members</name>
<label>#{portal.global.spaceMembers}</label>
<icon>fas fa-users</icon>
<page-reference>group::@owner@::members</page-reference>
<page-reference>group_template::community::members</page-reference>
</node>
<node>
<name>settings</name>
<label>#{portal.global.spaceSettings}</label>
<icon>fas fa-cog</icon>
<page-reference>group::@owner@::settings</page-reference>
<page-reference>group_template::community::settings</page-reference>
</node>
</node>
</node>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<page>
<name>home</name>
<title>Home</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl"><!-- To be deleted once WebUI is cleaned from Meeds package -->
<section-columns mobile-columns-style="true">
Expand Down Expand Up @@ -156,7 +156,7 @@
<page profiles="wallet">
<name>wallet</name>
<title>Wallet</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
Expand Down Expand Up @@ -184,7 +184,7 @@
<page profiles="notes">
<name>notes</name>
<title>Notes</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
Expand Down Expand Up @@ -212,7 +212,7 @@
<page>
<name>members</name>
<title>Space Members</title>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
Expand Down Expand Up @@ -240,7 +240,7 @@
<page>
<name>settings</name>
<title>Space Settings</title>
<access-permissions>manager:@owner@</access-permissions>
<access-permissions>manager:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_11 http://www.gatein.org/xml/ns/gatein_objects_1_11"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_11">
<portal-name>@owner@</portal-name>
<portal-name>@owner_id@</portal-name>
<displayed>false</displayed>
<locale>en</locale>
<access-permissions>member:@owner@</access-permissions>
<access-permissions>member:@owner_id@</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<portal-layout>
<page-body />
Expand Down
Loading

0 comments on commit 046a36a

Please sign in to comment.