Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/rental/RentalServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/rental/RentalServices.xml?rev=1051645&r1=1051644&r2=1051645&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/rental/RentalServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/rental/RentalServices.xml Tue Dec 21 20:52:34 2010 @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<?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 @@ -27,7 +27,7 @@ under the License. <return/> </if-compare> <check-permission permission="CATALOG" action="_UPDATE"> - <fail-message message="Security Error: to run createFixedAssetAndLinkToProduct you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductCatalogUpdatePermissionError"/> </check-permission> <check-errors/> @@ -52,7 +52,9 @@ under the License. <simple-method method-name="getProductFirstRelatedFixedAsset" short-description="Most rental products are associated with one fixed asset only, this service will return the first genericValue fixedAsset"> - <check-permission permission="CATALOG" action="_VIEW"><fail-message message="Security Error: to run getProductFirstRelatedFixedAsset you must have the CATALOG_VIEW or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_VIEW"> + <fail-property resource="ProductUiLabels" property="ProductCatalogViewPermissionError"/> + </check-permission> <check-errors/> <entity-one entity-name="Product" value-field="product"/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml?rev=1051645&r1=1051644&r2=1051645&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml Tue Dec 21 20:52:34 2010 @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<?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 @@ -21,7 +21,9 @@ under the License. <simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods.xsd"> <simple-method method-name="createFacilityContactMech" short-description="Create a FacilityContactMech"> - <check-permission permission="FACILITY" action="_CREATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> + <check-permission permission="FACILITY" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductFacilityCreatePermissionError"/> + </check-permission> <check-errors/> <make-value entity-name="FacilityContactMech" value-field="newValue"/> <make-value entity-name="FacilityContactMech" value-field="newFacilityContactMech"/> @@ -58,7 +60,9 @@ under the License. </simple-method> <simple-method method-name="updateFacilityContactMech" short-description="Update a FacilityContactMech"> - <check-permission permission="FACILITY" action="_UPDATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> + <check-permission permission="FACILITY" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> + </check-permission> <check-errors/> <make-value entity-name="FacilityContactMech" value-field="newFacilityContactMech"/> @@ -71,7 +75,9 @@ under the License. </entity-and> <first-from-list entry="facilityContactMech" list="facilityContactMechs"/> <if-empty field="facilityContactMech"> - <add-error><fail-message message="ERROR: Cannot update specified contact info because it does not correspond to the specified facility; query map was: ${facilityContactMechMap}"/></add-error> + <add-error> + <fail-message message="ERROR: Cannot update specified contact info because it does not correspond to the specified facility; query map was: ${facilityContactMechMap}"/> + </add-error> </if-empty> <check-errors/> @@ -128,7 +134,9 @@ under the License. <simple-method method-name="deleteFacilityContactMech" short-description="Delete a FacilityContactMech"> <make-value entity-name="FacilityContactMech" value-field="newFacilityContactMech"/> - <check-permission permission="FACILITY" action="_DELETE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> + <check-permission permission="FACILITY" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductFacilityDeletePermissionError"/> + </check-permission> <check-errors/> <make-value entity-name="FacilityContactMech" value-field="facilityContactMechMap"/> @@ -149,7 +157,9 @@ under the License. </simple-method> <simple-method method-name="createFacilityPostalAddress" short-description="Create a PostalAddress for facility"> - <check-permission permission="FACILITY" action="_CREATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> + <check-permission permission="FACILITY" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductFacilityCreatePermissionError"/> + </check-permission> <check-errors/> <set-service-fields service-name="createPostalAddress" map="parameters" to-map="createPostalAddressMap"/> @@ -174,7 +184,9 @@ under the License. <simple-method method-name="updateFacilityPostalAddress" short-description="Update a PostalAddress for facility"> <make-value entity-name="FacilityContactMech" value-field="newFacilityContactMech"/> - <check-permission permission="FACILITY" action="_UPDATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> + <check-permission permission="FACILITY" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> + </check-permission> <check-errors/> <set-service-fields service-name="updatePostalAddress" map="parameters" to-map="updatePostalAddressMap"/> @@ -196,7 +208,9 @@ under the License. </simple-method> <simple-method method-name="createFacilityTelecomNumber" short-description="Create a TelecomNumber for facility"> - <check-permission permission="FACILITY" action="_CREATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> + <check-permission permission="FACILITY" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductFacilityCreatePermissionError"/> + </check-permission> <check-errors/> <log level="info" message="Creating telecom number"/> @@ -221,7 +235,9 @@ under the License. <simple-method method-name="updateFacilityTelecomNumber" short-description="Update a TelecomNumber for facility"> <make-value entity-name="FacilityContactMech" value-field="newFacilityContactMech"/> - <check-permission permission="FACILITY" action="_UPDATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> + <check-permission permission="FACILITY" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> + </check-permission> <check-errors/> <set-service-fields service-name="updateTelecomNumber" map="parameters" to-map="updateTelecomNumberMap"/> @@ -246,11 +262,17 @@ under the License. </simple-method> <simple-method method-name="createFacilityEmailAddress" short-description="Create an email address for facility"> - <check-permission permission="FACILITY" action="_UPDATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> + <check-permission permission="FACILITY" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> + </check-permission> <check-errors/> <if-validate-method field="parameters.emailAddress" method="isEmail"> - <else><add-error><fail-property resource="PartyUiLabels" property="PartyEmailAddressNotFormattedCorrectly"/></add-error></else> + <else> + <add-error> + <fail-property resource="PartyUiLabels" property="PartyEmailAddressNotFormattedCorrectly"/> + </add-error> + </else> </if-validate-method> <check-errors/> @@ -266,11 +288,17 @@ under the License. </simple-method> <simple-method method-name="updateFacilityEmailAddress" short-description="Update an email address for facility"> - <check-permission permission="FACILITY" action="_UPDATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> + <check-permission permission="FACILITY" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> + </check-permission> <check-errors/> <if-validate-method field="parameters.emailAddress" method="isEmail"> - <else><add-error><fail-property resource="PartyUiLabels" property="PartyEmailAddressNotFormattedCorrectly"/></add-error></else> + <else> + <add-error> + <fail-property resource="PartyUiLabels" property="PartyEmailAddressNotFormattedCorrectly"/> + </add-error> + </else> </if-validate-method> <check-errors/> @@ -286,7 +314,9 @@ under the License. </simple-method> <simple-method method-name="createFacilityContactMechPurpose" short-description="Create a facility/contact mech purpose"> - <check-permission permission="FACILITY" action="_CREATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> + <check-permission permission="FACILITY" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductFacilityCreatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookUpMap" entity-name="FacilityContactMechPurpose"/> @@ -297,8 +327,9 @@ under the License. <filter-list-by-date list="purposeList"/> <if-not-empty field="purposeList"> - <add-error><fail-message message="Could not create new purpose, a purpose with that type already exists"/></add-error> - + <add-error> + <fail-message message="Could not create new purpose, a purpose with that type already exists"/> + </add-error> <check-errors/> </if-not-empty> @@ -315,7 +346,9 @@ under the License. </simple-method> <simple-method method-name="deleteFacilityContactMechPurpose" short-description="Delete a facility/contact mech purpose"> - <check-permission permission="FACILITY" action="_DELETE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> + <check-permission permission="FACILITY" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductFacilityDeletePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookUpMap" entity-name="FacilityContactMechPurpose"/> @@ -324,7 +357,9 @@ under the License. <find-by-primary-key value-field="purposeEntity" entity-name="FacilityContactMechPurpose" map="lookUpMap"/> <if-empty field="purposeEntity"> - <add-error><fail-message message="Unable to locate purpose; cannot delete"/></add-error> + <add-error> + <fail-message message="Unable to locate purpose; cannot delete"/> + </add-error> <check-errors/> </if-empty> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml?rev=1051645&r1=1051644&r2=1051645&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml Tue Dec 21 20:52:34 2010 @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<?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 @@ -21,15 +21,21 @@ under the License. <simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods.xsd"> <simple-method method-name="createProductStore" short-description="Create a Product Store"> - <check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createProductStore you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> + </check-permission> <check-errors/> <if-compare field="parameters.showPricesWithVatTax" operator="equals" value="Y"> <if-empty field="parameters.vatTaxAuthGeoId"> - <add-error><fail-property property="ProductVatTaxAuthGeoNotSet" resource="ProductUiLabels"/></add-error> + <add-error> + <fail-property property="ProductVatTaxAuthGeoNotSet" resource="ProductUiLabels"/> + </add-error> </if-empty> <if-empty field="parameters.vatTaxAuthPartyId"> - <add-error><fail-property property="ProductVatTaxAuthPartyNotSet" resource="ProductUiLabels"/></add-error> + <add-error> + <fail-property property="ProductVatTaxAuthPartyNotSet" resource="ProductUiLabels"/> + </add-error> </if-empty> <check-errors/> </if-compare> @@ -55,7 +61,9 @@ under the License. </if-not-empty> </simple-method> <simple-method method-name="updateProductStore" short-description="Update a Product Store"> - <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductStore you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogUpdatePermissionError"/> + </check-permission> <check-errors/> <set from-field="parameters.productStoreId" field="lookupPKMap.productStoreId"/> @@ -65,10 +73,14 @@ under the License. <if-compare field="store.showPricesWithVatTax" operator="equals" value="Y"> <if-empty field="store.vatTaxAuthGeoId"> - <add-error><fail-property property="ProductVatTaxAuthGeoNotSet" resource="ProductUiLabels"/></add-error> + <add-error> + <fail-property property="ProductVatTaxAuthGeoNotSet" resource="ProductUiLabels"/> + </add-error> </if-empty> <if-empty field="store.vatTaxAuthPartyId"> - <add-error><fail-property property="ProductVatTaxAuthPartyNotSet" resource="ProductUiLabels"/></add-error> + <add-error> + <fail-property property="ProductVatTaxAuthPartyNotSet" resource="ProductUiLabels"/> + </add-error> </if-empty> <check-errors/> </if-compare> @@ -99,7 +111,9 @@ under the License. <!-- ProductStore and ProdCatalog services --> <simple-method method-name="createProductStoreCatalog" short-description="Create ProductStoreCatalog"> - <check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createProductStoreCatalog you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="newEntity" entity-name="ProductStoreCatalog"/> @@ -114,7 +128,9 @@ under the License. <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateProductStoreCatalog" short-description="Update ProductStoreCatalog"> - <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductStoreCatalog you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogUpdatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPKMap" entity-name="ProductStoreCatalog"/> @@ -124,7 +140,9 @@ under the License. <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteProductStoreCatalog" short-description="Delete ProductStoreCatalog"> - <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run deleteProductStoreCatalog you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPKMap" entity-name="ProductStoreCatalog"/> @@ -135,7 +153,9 @@ under the License. <!-- ProductStore Payment Setting Services --> <simple-method method-name="createProductStorePaymentSetting" short-description="Create a Product Store Payment Setting"> - <check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createProductStorePaymentSetting you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="newEntity" entity-name="ProductStorePaymentSetting"/> @@ -144,7 +164,9 @@ under the License. <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateProductStorePaymentSetting" short-description="Update a Product Store Payment Setting"> - <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductStorePaymentSetting you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogUpdatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPKMap" entity-name="ProductStorePaymentSetting"/> @@ -154,7 +176,9 @@ under the License. <store-value value-field="setting"/> </simple-method> <simple-method method-name="deleteProductStorePaymentSetting" short-description="Delete a Product Store Payment Setting"> - <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run deleteProductStorePaymentSetting you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPKMap" entity-name="ProductStorePaymentSetting"/> @@ -167,7 +191,7 @@ under the License. <!-- ProductStore Email Services --> <simple-method method-name="createProductStoreEmail" short-description="Create Product Store Email Setting"> <check-permission permission="CATALOG" action="_CREATE"> - <fail-message message="Security Error: to run createProductStoreEmail you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> </check-permission> <check-errors/> @@ -179,7 +203,7 @@ under the License. </simple-method> <simple-method method-name="updateProductStoreEmail" short-description="Update Product Store Email Setting"> <check-permission permission="CATALOG" action="_UPDATE"> - <fail-message message="Security Error: to run updateProductStoreEmail you must have the CATALOG_UPDATE or CAtALOG_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductCatalogUpdatePermissionError"/> </check-permission> <check-errors/> @@ -191,7 +215,7 @@ under the License. </simple-method> <simple-method method-name="removeProductStoreEmail" short-description="Remove Product Store Email Setting"> <check-permission permission="CATALOG" action="_DELETE"> - <fail-message message="Security Error: to run removeProductStoreEmail you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> </check-permission> <check-errors/> @@ -203,7 +227,9 @@ under the License. <!-- ProductStore Vendor Payment Services --> <simple-method method-name="createProductStoreVendorPayment" short-description="Create a ProductStoreVendorPayment"> - <check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createProductStoreVendorPayment you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> + </check-permission> <check-errors/> <make-value entity-name="ProductStoreVendorPayment" value-field="newEntity"/> @@ -211,7 +237,9 @@ under the License. <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="deleteProductStoreVendorPayment" short-description="Remove the ProductStoreVendorPayment"> - <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run deleteProductStoreVendorPayment you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> + </check-permission> <check-errors/> <make-value entity-name="ProductStoreVendorPayment" value-field="lookedUpValue"/> @@ -222,7 +250,7 @@ under the License. <!-- ProductStore Carrier Shipment Services --> <simple-method method-name="createProductStoreShipMeth" short-description="Create Product Store Carrier Shipment Method"> <check-permission permission="CATALOG" action="_CREATE"> - <fail-message message="Security Error: to run createProductStoreShipMeth you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> </check-permission> <check-errors/> @@ -234,7 +262,7 @@ under the License. </simple-method> <simple-method method-name="updateProductStoreShipMeth" short-description="Update Product Store Carrier Shipment Method"> <check-permission permission="CATALOG" action="_UPDATE"> - <fail-message message="Security Error: to run updateProductStoreShipMeth you must have the CATALOG_UPDATE or CAtALOG_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductCatalogUpdatePermissionError"/> </check-permission> <check-errors/> @@ -246,7 +274,7 @@ under the License. </simple-method> <simple-method method-name="removeProductStoreShipMeth" short-description="Remove Product Store Carrier Shipment Method"> <check-permission permission="CATALOG" action="_DELETE"> - <fail-message message="Security Error: to run removeProductStoreShipMeth you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> </check-permission> <check-errors/> @@ -258,7 +286,9 @@ under the License. <!-- Product Store Role Services --> <simple-method method-name="createProductStoreRole" short-description="Create ProductStoreRole"> - <check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createProductStoreRole you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="newEntity" entity-name="ProductStoreRole"/> @@ -273,7 +303,9 @@ under the License. <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateProductStoreRole" short-description="Update a ProductStoreRole"> - <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductStoreRole you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogUpdatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPKMap" entity-name="ProductStoreRole"/> @@ -283,7 +315,9 @@ under the License. <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeProductStoreRole" short-description="Remove ProductStoreRole"> - <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run removeProductStoreRole you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPKMap" entity-name="ProductStoreRole"/> @@ -300,7 +334,9 @@ under the License. <!-- Product Store Keyword Override Services --> <simple-method method-name="createProductStoreKeywordOvrd" short-description="Create a ProductStoreKeywordOvrd"> - <check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createProductStoreKeywordOvrd you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="newEntity" entity-name="ProductStoreKeywordOvrd"/> @@ -318,7 +354,9 @@ under the License. <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateProductStoreKeywordOvrd" short-description="Update a ProductStoreKeywordOvrd"> - <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductStoreKeywordOvrd you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogUpdatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPKMap" entity-name="ProductStoreKeywordOvrd"/> @@ -328,7 +366,9 @@ under the License. <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteProductStoreKeywordOvrd" short-description="Delete a ProductStoreKeywordOvrd"> - <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run deleteProductStoreKeywordOvrd you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPKMap" entity-name="ProductStoreKeywordOvrd"/> @@ -339,7 +379,9 @@ under the License. <!-- Product Store Survey Appl Services --> <simple-method method-name="createProductStoreSurveyAppl" short-description="Create ProductStoreSurveyAppl"> - <check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createProductStoreSurveyAppl you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="newEntity" entity-name="ProductStoreSurveyAppl"/> @@ -356,7 +398,9 @@ under the License. <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="removeProductStoreSurveyAppl" short-description="Remove ProductStoreSurveyAppl"> - <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run removeProductStoreSurveyAppl you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPKMap" entity-name="ProductStoreSurveyAppl"/> @@ -373,7 +417,9 @@ under the License. <!-- Product Store FinAccount Settings --> <simple-method method-name="createProductStoreFinActSetting" short-description="Create a ProductStoreFinActSetting"> - <check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createProductStoreFinActSetting you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="finAcctSetting" entity-name="ProductStoreFinActSetting"/> @@ -382,7 +428,9 @@ under the License. <create-value value-field="finAcctSetting"/> </simple-method> <simple-method method-name="updateProductStoreFinActSetting" short-description="Update a ProductStoreFinActSetting"> - <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductStoreFinActSetting you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogUpdatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPk" entity-name="ProductStoreFinActSetting"/> @@ -393,7 +441,9 @@ under the License. <store-value value-field="finAccountSetting"/> </simple-method> <simple-method method-name="removeProductStoreFinActSetting" short-description="Remove a ProductStoreFinActSetting"> - <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run removeProductStoreFinActSetting you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPk" entity-name="ProductStoreFinActSetting"/> @@ -407,7 +457,9 @@ under the License. <entity-one entity-name="Product" value-field="product" use-cache="true"/> <entity-one entity-name="ProductStore" value-field="productStore" use-cache="true"/> <if-empty field="productStore"> - <add-error><fail-message message="No ProductStore found with id ${parameters.productStoreId}, not reserving inventory."/></add-error> + <add-error> + <fail-message message="No ProductStore found with id ${parameters.productStoreId}, not reserving inventory."/> + </add-error> <check-errors/> </if-empty> @@ -425,7 +477,9 @@ under the License. <if-empty field="facilityId"> <if-compare value="Y" field="productStore.oneInventoryFacility" operator="equals"> <if-empty field="productStore.inventoryFacilityId"> - <add-error><fail-message message="ProductStore with id ${productStoreId} has Y for oneInventoryFacility but inventoryFacilityId is empty, not reserving inventory."/></add-error> + <add-error> + <fail-message message="ProductStore with id ${productStoreId} has Y for oneInventoryFacility but inventoryFacilityId is empty, not reserving inventory."/> + </add-error> <check-errors/> </if-empty> <set-service-fields map="parameters" to-map="callServiceMap" service-name="reserveProductInventoryByFacility"/> @@ -494,7 +548,9 @@ under the License. <log level="info" message="ProductStoreService:Facility Found : [${facilityFound}]"/> </iterate> <if-empty field="facilityFound"> - <add-error><fail-message message="Facility with id ${parameters.facilityId} is not associated to ProductStore with id ${parameters.productStoreId}, not reserving inventory."/></add-error> + <add-error> + <fail-message message="Facility with id ${parameters.facilityId} is not associated to ProductStore with id ${parameters.productStoreId}, not reserving inventory."/> + </add-error> <check-errors/> </if-empty> <set-service-fields map="parameters" to-map="callServiceMap" service-name="reserveProductInventoryByFacility"/> @@ -585,7 +641,9 @@ under the License. <if-compare value="Y" operator="equals" field="productStore.oneInventoryFacility"> <if-empty field="productStore.inventoryFacilityId"> - <add-error><fail-message message="ProductStore with id ${productStoreId} has Y for oneInventoryFacility but inventoryFacilityId is empty, not checking available inventory."/></add-error> + <add-error> + <fail-message message="ProductStore with id ${productStoreId} has Y for oneInventoryFacility but inventoryFacilityId is empty, not checking available inventory."/> + </add-error> <check-errors/> </if-empty> @@ -695,14 +753,18 @@ under the License. <!-- ProductStore Vendor Shipment Services --> <simple-method method-name="createProductStoreVendorShipment" short-description="Create a ProductStoreVendorShipment"> - <check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createProductStoreVendorShipment you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> + </check-permission> <check-errors/> <make-value entity-name="ProductStoreVendorShipment" value-field="newEntity"/> <set-pk-fields value-field="newEntity" map="parameters"/> <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="deleteProductStoreVendorShipment" short-description="Remove the ProductStoreVendorShipment"> - <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run deleteProductStoreVendorShipment you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> + </check-permission> <check-errors/> <make-value entity-name="ProductStoreVendorShipment" value-field="lookedUpValue"/> <set-pk-fields value-field="lookedUpValue" map="parameters"/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/supplier/SupplierProductServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/supplier/SupplierProductServices.xml?rev=1051645&r1=1051644&r2=1051645&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/supplier/SupplierProductServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/supplier/SupplierProductServices.xml Tue Dec 21 20:52:34 2010 @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<?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 @@ -21,7 +21,9 @@ under the License. <simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods.xsd"> <simple-method method-name="createSupplierProduct" short-description="Create a Supplier Product record"> - <check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createSupplierProduct you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="newEntity" entity-name="SupplierProduct"/> @@ -32,7 +34,9 @@ under the License. </simple-method> <simple-method method-name="updateSupplierProduct" short-description="Update a Supplier Product record"> - <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateSupplierProduct you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogUpdatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPKMap" entity-name="SupplierProduct"/> @@ -44,7 +48,9 @@ under the License. </simple-method> <simple-method method-name="removeSupplierProduct" short-description="Remove a Supplier Product record"> - <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run removeSupplierProduct you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="lookupPKMap" entity-name="SupplierProduct"/> @@ -56,7 +62,9 @@ under the License. <!-- services for supplier product features --> <simple-method method-name="createSupplierProductFeature" short-description="Create a Supplier Product Feature record"> - <check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createSupplierProductFeature you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_CREATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/> + </check-permission> <check-errors/> <make-value value-field="newEntity" entity-name="SupplierProductFeature"/> @@ -66,7 +74,9 @@ under the License. <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateSupplierProductFeature" short-description="Update a Supplier Product Feature record"> - <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateSupplierProductFeature you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_UPDATE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogUpdatePermissionError"/> + </check-permission> <check-errors/> <entity-one entity-name="SupplierProductFeature" value-field="sprod"/> @@ -74,7 +84,9 @@ under the License. <store-value value-field="sprod"/> </simple-method> <simple-method method-name="removeSupplierProductFeature" short-description="Remove a Supplier Product record"> - <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run updateSupplierProductFeature you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission> + <check-permission permission="CATALOG" action="_DELETE"> + <fail-property resource="ProductUiLabels" property="ProductCatalogDeletePermissionError"/> + </check-permission> <check-errors/> <entity-one entity-name="SupplierProductFeature" value-field="sprod"/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml?rev=1051645&r1=1051644&r2=1051645&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml Tue Dec 21 20:52:34 2010 @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<?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 @@ -61,7 +61,7 @@ under the License. --> <check-permission permission="FACILITY" action="_VIEW"> - <fail-message message="Security Error: to run getPicklistData you must have the FACILITY_VIEW or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityViewPermissionError"/> </check-permission> <check-errors/> <set field="groupByShippingMethod" from-field="parameters.groupByShippingMethod"/> @@ -584,7 +584,7 @@ under the License. <!-- ========================================================= --> <simple-method method-name="createPicklistFromOrders" short-description="Create Picklist From Orders"> <check-permission permission="FACILITY" action="_CREATE"> - <fail-message message="Security Error: to run createPicklistFromOrders you must have the FACILITY_CREATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityCreatePermissionError"/> </check-permission> <check-errors/> @@ -679,7 +679,9 @@ under the License. <else> <log level="info" message="Not Creating Picklist with ID, nothing to process."/> <!-- return error messages saying no orders ready to pick, not creating picklist --> - <add-error><fail-message message="No orders ready to pick, not creating picklist."/></add-error> + <add-error> + <fail-message message="No orders ready to pick, not creating picklist."/> + </add-error> <check-errors/> </else> </if-not-empty> @@ -737,7 +739,7 @@ under the License. <!-- Picklist --> <simple-method method-name="createPicklist" short-description="Create Picklist"> <check-permission permission="FACILITY" action="_CREATE"> - <fail-message message="Security Error: to run createPicklist you must have the FACILITY_CREATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityCreatePermissionError"/> </check-permission> <check-errors/> @@ -762,7 +764,7 @@ under the License. </simple-method> <simple-method method-name="updatePicklist" short-description="Update Picklist"> <check-permission permission="FACILITY" action="_UPDATE"> - <fail-message message="Security Error: to run updatePicklist you must have the FACILITY_UPDATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> </check-permission> <make-value value-field="lookupPKMap" entity-name="Picklist"/> @@ -804,7 +806,7 @@ under the License. </simple-method> <simple-method method-name="deletePicklist" short-description="Delete Picklist"> <check-permission permission="FACILITY" action="_DELETE"> - <fail-message message="Security Error: to run deletePicklist you must have the FACILITY_DELETE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityDeletePermissionError"/> </check-permission> <check-errors/> @@ -817,7 +819,7 @@ under the License. <!-- PicklistBin --> <simple-method method-name="createPicklistBin" short-description="Create PicklistBin"> <check-permission permission="FACILITY" action="_CREATE"> - <fail-message message="Security Error: to run createPicklistBin you must have the FACILITY_CREATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityCreatePermissionError"/> </check-permission> <check-errors/> @@ -831,7 +833,7 @@ under the License. </simple-method> <simple-method method-name="updatePicklistBin" short-description="Update PicklistBin"> <check-permission permission="FACILITY" action="_UPDATE"> - <fail-message message="Security Error: to run updatePicklistBin you must have the FACILITY_UPDATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> </check-permission> <make-value value-field="lookupPKMap" entity-name="PicklistBin"/> @@ -843,7 +845,7 @@ under the License. </simple-method> <simple-method method-name="deletePicklistBin" short-description="Delete PicklistBin"> <check-permission permission="FACILITY" action="_DELETE"> - <fail-message message="Security Error: to run deletePicklistBin you must have the FACILITY_DELETE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityDeletePermissionError"/> </check-permission> <check-errors/> @@ -856,7 +858,7 @@ under the License. <!-- PicklistItem --> <simple-method method-name="createPicklistItem" short-description="Create PicklistItem"> <check-permission permission="FACILITY" action="_CREATE"> - <fail-message message="Security Error: to run createPicklistItem you must have the FACILITY_CREATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityCreatePermissionError"/> </check-permission> <check-errors/> @@ -872,7 +874,7 @@ under the License. </simple-method> <simple-method method-name="updatePicklistItem" short-description="Update PicklistItem"> <check-permission permission="FACILITY" action="_UPDATE"> - <fail-message message="Security Error: to run updatePicklistItem you must have the FACILITY_UPDATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> </check-permission> <make-value value-field="lookupPKMap" entity-name="PicklistItem"/> @@ -906,7 +908,7 @@ under the License. </simple-method> <simple-method method-name="deletePicklistItem" short-description="Delete PicklistItem"> <check-permission permission="FACILITY" action="_DELETE"> - <fail-message message="Security Error: to run deletePicklistItem you must have the FACILITY_DELETE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityDeletePermissionError"/> </check-permission> <check-errors/> @@ -917,7 +919,7 @@ under the License. </simple-method> <simple-method method-name="setPicklistItemToComplete" short-description="Set the status of a pick list item to completed"> <check-permission permission="FACILITY" action="_UPDATE"> - <fail-message message="Security Error: to run setPicklistItemToComplete you must have the FACILITY_UPDATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> </check-permission> <set-service-fields service-name="updatePicklistItem" map="parameters" to-map="serviceCtx"/> @@ -928,7 +930,7 @@ under the License. <!-- PicklistRole --> <simple-method method-name="createPicklistRole" short-description="Create PicklistRole"> <check-permission permission="FACILITY" action="_CREATE"> - <fail-message message="Security Error: to run createPicklistRole you must have the FACILITY_CREATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityCreatePermissionError"/> </check-permission> <check-errors/> @@ -944,7 +946,7 @@ under the License. </simple-method> <simple-method method-name="updatePicklistRole" short-description="Update PicklistRole"> <check-permission permission="FACILITY" action="_UPDATE"> - <fail-message message="Security Error: to run updatePicklistRole you must have the FACILITY_UPDATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> </check-permission> <make-value value-field="lookupPKMap" entity-name="PicklistRole"/> @@ -956,7 +958,7 @@ under the License. </simple-method> <simple-method method-name="deletePicklistRole" short-description="Delete PicklistRole"> <check-permission permission="FACILITY" action="_DELETE"> - <fail-message message="Security Error: to run deletePicklistRole you must have the FACILITY_DELETE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityDeletePermissionError"/> </check-permission> <check-errors/> @@ -971,7 +973,7 @@ under the License. <!-- ========================================================= --> <simple-method method-name="getPicklistDisplayInfo" short-description="Get Picklist Display Info"> <check-permission permission="FACILITY" action="_VIEW"> - <fail-message message="Security Error: to run deletePicklistRole you must have the FACILITY_VIEW or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityViewPermissionError"/> </check-permission> <check-errors/> @@ -1000,7 +1002,7 @@ under the License. 3. noLocationProductInfoList (product, pickQuantity, picklistBinInfoList (picklistBin, quantity), picklistItemInfoList (picklistItem, picklistBin, orderItem, product, inventoryItemAndLocation, orderItemShipGrpInvRes, itemIssuanceList)) --> <check-permission permission="FACILITY" action="_VIEW"> - <fail-message message="Security Error: to run getPickAndPackReportInfo you must have the FACILITY_VIEW or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityViewPermissionError"/> </check-permission> <check-errors/> @@ -1268,10 +1270,10 @@ under the License. --> <check-permission permission="FACILITY" action="_VIEW"> - <fail-message message="Security Error: to run getPicklistData you must have the FACILITY_VIEW or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityViewPermissionError"/> </check-permission> <check-permission permission="FACILITY" action="_UPDATE"> - <fail-message message="Security Error: to run getPicklistData you must have the FACILITY_UPDATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> </check-permission> <check-errors/> @@ -1394,7 +1396,7 @@ under the License. <!-- special method to check update the picklist status from the item status --> <simple-method method-name="checkPicklistBinItemStatuses" short-description="Checks the item status and updates the pick list status"> <check-permission permission="FACILITY" action="_UPDATE"> - <fail-message message="Security Error: to run checkPicklistItemStatus you must have the FACILITY_UPDATE or FACILITY_ADMIN permission"/> + <fail-property resource="ProductUiLabels" property="ProductFacilityUpdatePermissionError"/> </check-permission> <!-- find the picklist bin --> |
Free forum by Nabble | Edit this page |