This is an automated email from the ASF dual-hosted git repository.

ashishvijaywargiya pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 97b70cd4ea OFBIZ-13422: Grant MANUFACTURING_CREATE to SUPPLYADMIN test 
group (#1629)
97b70cd4ea is described below

commit 97b70cd4eab264482716f6927b9a8317739e6310
Author: Ashish Vijaywargiya <[email protected]>
AuthorDate: Tue Aug 11 18:53:50 2026 +0530

    OFBIZ-13422: Grant MANUFACTURING_CREATE to SUPPLYADMIN test group (#1629)
    
    createProductionRun now enforces a manufacturing CREATE permission check
    (OFBIZ-13422). The SUPPLYADMIN test security group, whose stated purpose
    is running requirement-based manufacturing tasks, didn't have that
    permission, so ProductionRunTests.testCreateProductionRunForRequirement
    failed in testIntegration with a security error.
    
    This adds MANUFACTURING_CREATE to the SUPPLYADMIN group.
    
    Verified with a full `testIntegration` run: BUILD SUCCESSFUL, all suites
    passing including productionruntests (10/10).
---
 applications/manufacturing/testdef/data/ManufacturingTestsData.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/applications/manufacturing/testdef/data/ManufacturingTestsData.xml 
b/applications/manufacturing/testdef/data/ManufacturingTestsData.xml
index bf524fda4d..a4002d314e 100644
--- a/applications/manufacturing/testdef/data/ManufacturingTestsData.xml
+++ b/applications/manufacturing/testdef/data/ManufacturingTestsData.xml
@@ -38,6 +38,7 @@ under the License.
     <UserLoginSecurityGroup userLoginId="TestManufAdmin" groupId="MANUFADMIN" 
fromDate="2001-05-13 00:00:00"/>
     <SecurityGroup groupId="SUPPLYADMIN" description="Supply Chain Admin 
group, has permissions to execute requirement based manufacturing tasks." 
groupName="Supply Admin"/>
     <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" 
groupId="SUPPLYADMIN" permissionId="MANUFACTURING_VIEW"/>
+    <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" 
groupId="SUPPLYADMIN" permissionId="MANUFACTURING_CREATE"/>
     <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" 
groupId="SUPPLYADMIN" permissionId="WORKEFFORTMGR_CREATE"/>
     <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" 
groupId="SUPPLYADMIN" permissionId="WORKEFFORTMGR_UPDATE"/>
     <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" 
groupId="SUPPLYADMIN" permissionId="ACCOUNTING_CREATE"/>

Reply via email to