blob: 9a1a56f11cef3064b4dda6274bd4bb9c45228379 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<entity-engine-xml>
<!-- Example security -->
<SecurityPermission description="View operations in the Example Management Screens." permissionId="EXAMPLE_VIEW"/>
<SecurityPermission description="Create operations in the Example Management Screens." permissionId="EXAMPLE_CREATE"/>
<SecurityPermission description="Update operations in the Example Management Screens." permissionId="EXAMPLE_UPDATE"/>
<SecurityPermission description="Delete operations in the Example Management Screens." permissionId="EXAMPLE_DELETE"/>
<SecurityPermission description="ALL operations in the Example Management Screens." permissionId="EXAMPLE_ADMIN"/>
<SecurityGroupPermission groupId="FULLADMIN" permissionId="EXAMPLE_ADMIN"/>
<SecurityGroupPermission groupId="FLEXADMIN" permissionId="EXAMPLE_CREATE"/>
<SecurityGroupPermission groupId="FLEXADMIN" permissionId="EXAMPLE_DELETE"/>
<SecurityGroupPermission groupId="FLEXADMIN" permissionId="EXAMPLE_UPDATE"/>
<SecurityGroupPermission groupId="FLEXADMIN" permissionId="EXAMPLE_VIEW"/>
<SecurityGroupPermission groupId="VIEWADMIN" permissionId="EXAMPLE_VIEW"/>
<SecurityGroupPermission groupId="BIZADMIN" permissionId="EXAMPLE_ADMIN"/>
<ArtifactPath artifactPath="ofbiz/example" description="Example Application"/>
<ArtifactPath artifactPath="ofbiz/exampleext" description="Extended Example Application"/>
<!-- Data needed to get users logged in -->
<ArtifactPath artifactPath="ofbiz/example/getUserPreferenceGroup" description="Example Application - getUserPreferenceGroup service"/>
<ArtifactPath artifactPath="ofbiz/example/login" description="Example Application - Login screen"/>
<ArtifactPath artifactPath="ofbiz/example/ServerHit" description="Example Application - Server hit"/>
<UserToArtifactPermRel userLoginId="NOT_LOGGED_IN" artifactPath="ofbiz/example/getUserPreferenceGroup" permissionValue="access=true"/>
<UserToArtifactPermRel userLoginId="NOT_LOGGED_IN" artifactPath="ofbiz/example/login" permissionValue="access=true"/>
<UserToArtifactPermRel userLoginId="NOT_LOGGED_IN" artifactPath="ofbiz/example/login" permissionValue="view=true"/>
<UserToArtifactPermRel userLoginId="NOT_LOGGED_IN" artifactPath="ofbiz/example/ServerHit" permissionValue="create=true"/>
<!-- Data needed for the transition to security-aware artifacts. As each webapp
is converted over to the new security design, the corresponding admin
permission should be removed. -->
<!-- <UserGrpToArtifactPermRel groupId="OFBIZ_USERS" artifactPath="ofbiz/example" permissionValue="admin=true"/> -->
<UserGrpToArtifactPermRel groupId="OFBIZ_USERS" artifactPath="ofbiz/exampleext" permissionValue="admin=true"/>
</entity-engine-xml>