diff --git a/framework/common/config/CommonUiLabels.properties b/framework/common/config/CommonUiLabels.properties index 5e050ac11c..a4583ef9d8 100644 --- a/framework/common/config/CommonUiLabels.properties +++ b/framework/common/config/CommonUiLabels.properties @@ -283,7 +283,8 @@ CommonPassword=Password CommonPerform=Perform CommonPermissionErrorMessage=Security Error\: to run ${resourceDescription} you must have the EXAMPLE_${mainAction} or EXAMPLE_ADMIN permission CommonPermissionError=Permission Error -CommonPermissionMainActionAttributeMissing=Permission main-action attribute missing +CommonPermissionMainActionAttributeMissing=Permission main-action parameter missing! +CommonPermissionPrimaryPermissionMissing=Permission primaryPermission parameter missing! CommonGenericPermissionError=Security Error\: To run ${resourceDescription} you must have the ${}_${mainAction} or ${}_ADMIN permission CommonPerson=Person CommonPostedBy=Posted By diff --git a/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml b/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml index a86954b651..2ca5e46909 100644 --- a/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml +++ b/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml @@ -21,17 +21,33 @@ under the License. xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/simple-methods.xsd"> + + + + + + + + + + + + + + - - - + + + + + diff --git a/framework/common/servicedef/services.xml b/framework/common/servicedef/services.xml index a30f8c809d..63fd3b2684 100644 --- a/framework/common/servicedef/services.xml +++ b/framework/common/servicedef/services.xml @@ -395,6 +395,8 @@ under the License. + +