svn commit: r950483 - in /ofbiz/trunk: applications/commonext/ applications/commonext/data/ framework/bi/ framework/bi/data/ specialpurpose/hhfacility/ specialpurpose/hhfacility/data/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r950483 - in /ofbiz/trunk: applications/commonext/ applications/commonext/data/ framework/bi/ framework/bi/data/ specialpurpose/hhfacility/ specialpurpose/hhfacility/data/

mrisaliti
Author: mrisaliti
Date: Wed Jun  2 10:45:44 2010
New Revision: 950483

URL: http://svn.apache.org/viewvc?rev=950483&view=rev
Log:
Some missing security permissions for HHFacility, Setup and BI components

Added:
    ofbiz/trunk/applications/commonext/data/OfbizSetupSecurityData.xml   (with props)
    ofbiz/trunk/framework/bi/data/BiSecurityData.xml   (with props)
    ofbiz/trunk/specialpurpose/hhfacility/data/
    ofbiz/trunk/specialpurpose/hhfacility/data/HhFacilitySecurityData.xml   (with props)
Modified:
    ofbiz/trunk/applications/commonext/ofbiz-component.xml
    ofbiz/trunk/framework/bi/ofbiz-component.xml
    ofbiz/trunk/specialpurpose/hhfacility/ofbiz-component.xml

Added: ofbiz/trunk/applications/commonext/data/OfbizSetupSecurityData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/data/OfbizSetupSecurityData.xml?rev=950483&view=auto
==============================================================================
--- ofbiz/trunk/applications/commonext/data/OfbizSetupSecurityData.xml (added)
+++ ofbiz/trunk/applications/commonext/data/OfbizSetupSecurityData.xml Wed Jun  2 10:45:44 2010
@@ -0,0 +1,25 @@
+<?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>
+    <SecurityPermission description="ALL OFBiz Setup operations." permissionId="SETUP_ADMIN"/>
+    <SecurityPermission description="OFBiz Setup View permission." permissionId="SETUP_VIEW"/>
+
+    <SecurityGroupPermission groupId="FULLADMIN" permissionId="SETUP_ADMIN"/>
+</entity-engine-xml>

Propchange: ofbiz/trunk/applications/commonext/data/OfbizSetupSecurityData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/commonext/data/OfbizSetupSecurityData.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/applications/commonext/data/OfbizSetupSecurityData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/applications/commonext/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/ofbiz-component.xml?rev=950483&r1=950482&r2=950483&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/commonext/ofbiz-component.xml Wed Jun  2 10:45:44 2010
@@ -30,6 +30,7 @@ under the License.
     <entity-resource type="data" reader-name="seed" loader="main" location="data/CommonExtHelpData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/SystemInfoPortletData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/SetupData.xml"/>
+    <entity-resource type="data" reader-name="seed" loader="main" location="data/OfbizSetupSecurityData.xml"/>
     
     <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
     <entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/>
@@ -41,6 +42,6 @@ under the License.
         title="Setup"
         server="default-server"
         location="webapp/ofbizsetup"
-        base-permission="OFBTOOLS"
+        base-permission="OFBTOOLS,SETUP"
         mount-point="/ofbizsetup"/>
 </ofbiz-component>

Added: ofbiz/trunk/framework/bi/data/BiSecurityData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/bi/data/BiSecurityData.xml?rev=950483&view=auto
==============================================================================
--- ofbiz/trunk/framework/bi/data/BiSecurityData.xml (added)
+++ ofbiz/trunk/framework/bi/data/BiSecurityData.xml Wed Jun  2 10:45:44 2010
@@ -0,0 +1,25 @@
+<?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>
+    <SecurityPermission description="ALL Business Intelligence operations." permissionId="BI_ADMIN"/>
+    <SecurityPermission description="Business Intelligence View permission." permissionId="BI_VIEW"/>
+
+    <SecurityGroupPermission groupId="FULLADMIN" permissionId="BI_ADMIN"/>
+</entity-engine-xml>

Propchange: ofbiz/trunk/framework/bi/data/BiSecurityData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/bi/data/BiSecurityData.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/bi/data/BiSecurityData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/framework/bi/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/bi/ofbiz-component.xml?rev=950483&r1=950482&r2=950483&view=diff
==============================================================================
--- ofbiz/trunk/framework/bi/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/bi/ofbiz-component.xml Wed Jun  2 10:45:44 2010
@@ -25,7 +25,8 @@ under the License.
     <classpath type="dir" location="config"/>
     <classpath type="jar" location="build/lib/*"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/BiTypeData.xml"/>
-
+    <entity-resource type="data" reader-name="seed" loader="main" location="data/BiSecurityData.xml"/>
+    
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
 
     <webapp name="bi"
@@ -33,7 +34,7 @@ under the License.
         menu-name="secondary"
         server="default-server"
         location="webapp/bi"
-        base-permission="OFBTOOLS"
+        base-permission="OFBTOOLS,BI"
         mount-point="/bi"
         app-bar-display="true"/>
 </ofbiz-component>

Added: ofbiz/trunk/specialpurpose/hhfacility/data/HhFacilitySecurityData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/data/HhFacilitySecurityData.xml?rev=950483&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/data/HhFacilitySecurityData.xml (added)
+++ ofbiz/trunk/specialpurpose/hhfacility/data/HhFacilitySecurityData.xml Wed Jun  2 10:45:44 2010
@@ -0,0 +1,25 @@
+<?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>
+    <SecurityPermission description="ALL hh facility operations." permissionId="HHFACILITY_ADMIN"/>
+    <SecurityPermission description="hh facility View permission." permissionId="HHFACILITY_VIEW"/>
+
+    <SecurityGroupPermission groupId="FULLADMIN" permissionId="HHFACILITY_ADMIN"/>
+</entity-engine-xml>

Propchange: ofbiz/trunk/specialpurpose/hhfacility/data/HhFacilitySecurityData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/hhfacility/data/HhFacilitySecurityData.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/hhfacility/data/HhFacilitySecurityData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/specialpurpose/hhfacility/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/ofbiz-component.xml?rev=950483&r1=950482&r2=950483&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/ofbiz-component.xml (original)
+++ ofbiz/trunk/specialpurpose/hhfacility/ofbiz-component.xml Wed Jun  2 10:45:44 2010
@@ -24,6 +24,8 @@ under the License.
     <resource-loader name="main" type="component"/>
     <classpath type="jar" location="build/lib/*"/>
 
+    <entity-resource type="data" reader-name="seed" loader="main" location="data/HhFacilitySecurityData.xml"/>
+
     <service-resource type="model" loader="main" location="servicedef/services_hhfacility.xml"/>
 
     <webapp name="hhfacility"
@@ -31,7 +33,7 @@ under the License.
         menu-name="secondary"
         server="default-server"
         location="webapp/hhfacility"
-        base-permission="OFBTOOLS,FACILITY"
+        base-permission="OFBTOOLS,HHFACILITY"
         mount-point="/hhfacility"
         app-bar-display="true"/>
 </ofbiz-component>