| <?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> |
| <!-- Asset Maintenance security --> |
| <SecurityPermission description="ALL Asset Maintenance operations." permissionId="ASSETMAINT_ADMIN"/> |
| <SecurityPermission description="Asset Maintenance View permission." permissionId="ASSETMAINT_VIEW"/> |
| <SecurityPermission description="Asset Maintenance Create operations." permissionId="ASSETMAINT_CREATE"/> |
| <SecurityPermission description="Asset Maintenance Update operations." permissionId="ASSETMAINT_UPDATE"/> |
| <SecurityPermission description="Asset Maintenance Delete operations." permissionId="ASSETMAINT_DELETE"/> |
| |
| <SecurityGroup description="Asset Maintenance Admin group, has all maintenance permissions." groupId="ASSETMAINTADMIN"/> |
| <SecurityGroup description="Asset Maintenance Technician group, has view and update." groupId="ASSETMAINTTECH"/> |
| |
| <SecurityGroupPermission groupId="ASSETMAINTADMIN" permissionId="ASSETMAINT_ADMIN"/> |
| |
| <SecurityGroupPermission groupId="ASSETMAINTTECH" permissionId="ASSETMAINT_VIEW"/> |
| <SecurityGroupPermission groupId="ASSETMAINTTECH" permissionId="ASSETMAINT_UPDATE"/> |
| |
| <SecurityGroupPermission groupId="FULLADMIN" permissionId="ASSETMAINT_ADMIN"/> |
| |
| <ArtifactPath artifactPath="ofbiz/assetmaint" description="Asset Maintenance Application"/> |
| <ArtifactPath artifactPath="ofbiz/ismgr" description="IS Manager Application"/> |
| |
| <!-- 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/assetmaint" permissionValue="admin=true"/> |
| <UserGrpToArtifactPermRel groupId="OFBIZ_USERS" artifactPath="ofbiz/ismgr" permissionValue="admin=true"/> |
| |
| </entity-engine-xml> |