|
Operating systems: i5/OS, Linux,Windows |
This sample imports the createMailNode.xml file and creates the Mail root policy. If your deployed portal does not have a main (root) policy for Mail, you can create the main Mail policy type using this sample, which is located in wp_profile_root/ConfigEngine/config/work.
<?xml version="1.0" encoding="UTF-8"?>
<request xsi:noNamespaceSchemaLocation="PortalConfig_1.4.xsd" create-oids="true"
type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<portal action="locate">
<policy-node action="update" label="Mail" type="Mail" path="">
<url>file:///@WpsInstallLocation@/config/work/createRootMailNode.xml
</url>
<access-control externalized="false" owner="@PortalAdminId@"
private="false">
<!-- The user role should not automatically propagate to mail policy
-->
<role-block type="inheritance" actionset="User"/>
<!-- add back user role for all-authenticated -->
<role actionset="User" update="set">
<mapping subjectid="all authenticated portal users"
subjecttype="user_group" update="set"/>
</role>
<role actionset="Administrator" update="set">
<mapping subjectid="@PortalAdminId@"
subjecttype="USER" update="set"/>
</role>
<role actionset="Administrator" update="set">
<mapping subjectid="@PortalAdminGroupId@"
subjecttype="USER_GROUP" update="set"/>
</role>
</access-control>
</policy-node>
</portal>
</request>
Parent topic: Reference