-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup-ableneo-site.xml
63 lines (63 loc) · 2.67 KB
/
setup-ableneo-site.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="UTF-8"?>
<setup xmlns="http://www.ableneo.com/liferay/setup">
<configuration>
<company>
<companywebid>liferay.com</companywebid>
</company>
</configuration>
<company-settings>
<service-access-policies>
<service-access-policy name="EXAMPLE_POLICY">
<title locale="sk_SK" text="Grant access to someMethod for Guest"/>
<allowed-service-signatures>
com.ableneo.foobar.rest.api.internal.resource.v1_0.FooBarResourceImpl
</allowed-service-signatures>
</service-access-policy>
</service-access-policies>
</company-settings>
<roles>
<role name="ExampleRole"></role>
<role name="ExampleSiteRole" type="site" site="Guest"></role>
</roles>
<user-groups>
<user-group name="Example User Group">
<role name="ExampleRole"></role>
<user-as-member screen-name="example">
</user-as-member>
</user-group>
</user-groups>
<users>
<user screen-name="example" email-address="example@liferay.com" password="example" first-name="Example First Name"
last-name="Example Last Name">
<role name="Administrator"></role>
</user>
</users>
<sites>
<site site-friendly-url="/guest">
<public-pages language-id="sk">
<page name="main" friendly-url="/main" delete-existing-pages="true">
<page-portlet portlet-id="" column="column-1" column-position="1">
<portlet-preference key="site">int8</portlet-preference>
</page-portlet>
<role-permissions clear-permissions="true">
<role-permission role-name="Owner">
<permission-action action-name="VIEW"/>
</role-permission>
<role-permission role-name="ExampleRole">
<permission-action action-name="VIEW"/>
</role-permission>
</role-permissions>
</page>
</public-pages>
<article-structure key="test-article"
path="test-article-structure.json"
name="test-article"/>
<article-template key="test-article-template"
name="test-article-template"
path="test-article-template.ftl"
article-structure-key="test-article"
cacheable="true"/>
<name>Guest</name>
</site>
</sites>
</setup>