My mistake, the FULLADMIN and FLEXADMIN security groups are seed data,
but the assignment of demo users to those groups is demo data.
I apologize for the confusion.
-Adrian
On 6/16/2012 10:20 AM, Hans Bakker wrote:
Currently not, they are in the security.xml seed file now renamed to
SecuritySeed.xml
Regards.
Hans
On 06/16/2012 03:40 PM, Adrian Crum wrote:
FULLADMIN and FLEXADMIN are demo user groups, therefore they belong
in demo data - not seed data.
-Adrian
On 6/16/2012 3:51 AM, [email protected] wrote:
Author: hansbak
Date: Sat Jun 16 02:51:18 2012
New Revision: 1350843
URL: http://svn.apache.org/viewvc?rev=1350843&view=rev
Log:
move service security data to seed data
Removed:
ofbiz/trunk/framework/service/data/ServiceSecurityData.xml
Modified:
ofbiz/trunk/framework/service/data/ServiceSeedData.xml
ofbiz/trunk/framework/service/ofbiz-component.xml
Modified: ofbiz/trunk/framework/service/data/ServiceSeedData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/data/ServiceSeedData.xml?rev=1350843&r1=1350842&r2=1350843&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/data/ServiceSeedData.xml (original)
+++ ofbiz/trunk/framework/service/data/ServiceSeedData.xml Sat Jun
16 02:51:18 2012
@@ -19,6 +19,11 @@ under the License.
-->
<entity-engine-xml>
+<!-- Remote Service security -->
+<SecurityPermission description="Permission to invoke any service
remotely." permissionId="SERVICE_INVOKE_ANY"/>
+<SecurityGroupPermission groupId="FULLADMIN"
permissionId="SERVICE_INVOKE_ANY"/>
+<SecurityGroupPermission groupId="FLEXADMIN"
permissionId="SERVICE_INVOKE_ANY"/>
+
<!-- Temporal Expression seed data -->
<!-- Pre-define all 60 minutes -->
Modified: ofbiz/trunk/framework/service/ofbiz-component.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/ofbiz-component.xml?rev=1350843&r1=1350842&r2=1350843&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/service/ofbiz-component.xml Sat Jun 16
02:51:18 2012
@@ -31,7 +31,6 @@ under the License.
<entity-resource type="data" reader-name="seed" loader="main"
location="data/ScheduledServiceData.xml"/>
<entity-resource type="data" reader-name="seed-initial"
loader="main" location="data/ScheduledServices.xml"/>
<entity-resource type="data" reader-name="seed" loader="main"
location="data/ServiceSeedData.xml"/>
-<entity-resource type="data" reader-name="security" loader="main"
location="data/ServiceSecurityData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main"
location="data/ServiceDemoData.xml"/>
<service-resource type="model" loader="main"
location="servicedef/services.xml"/>