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

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


The following commit(s) were added to refs/heads/release18.12 by this push:
     new 4a07b20f75 Fixed: PaymentGroup Cancell button is shown to viewer 
(OFBIZ-12820) (#698)
4a07b20f75 is described below

commit 4a07b20f750a7d79f738945106fe519f333fcc22
Author: Pierre Smits <pierre.sm...@somonar.com>
AuthorDate: Sat Mar 9 16:38:51 2024 +0100

    Fixed: PaymentGroup Cancell button is shown to viewer (OFBIZ-12820) (#698)
    
    Currently when a user with only view permissions accesses the PaymentGroup 
overview, as demonstrated in demo-trunk with userid=auditor, the action trigger 
to cancel a PaymentGroup is shown. See attached image.
    
    modified: PaymentGroupForms.xml
    - removed action trigger field regarding cancelCheckRunPayments
---
 applications/accounting/widget/PaymentGroupForms.xml | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/applications/accounting/widget/PaymentGroupForms.xml 
b/applications/accounting/widget/PaymentGroupForms.xml
index 421057a0fc..496c7b0cf7 100644
--- a/applications/accounting/widget/PaymentGroupForms.xml
+++ b/applications/accounting/widget/PaymentGroupForms.xml
@@ -61,11 +61,6 @@ under the License.
                 <parameter param-name="paymentGroupId"/>
             </hyperlink>
         </field>
-        <field name="deleteLink" title=" " widget-style="buttontext" 
use-when="${paymentGroupTypeId == 'CHECK_RUN'} @and 
${paymentGroupMemberAndTransList[0].finAccountTransStatusId != 
'FINACT_TRNS_APPROVED'} @and 
${groovy:org.apache.ofbiz.base.util.UtilValidate.isNotEmpty(paymentGroupMembers)}">
-            <hyperlink description="${uiLabelMap.CommonCancel}" 
target="cancelCheckRunPayments" also-hidden="false">
-                <parameter param-name="paymentGroupId"/>
-            </hyperlink>
-        </field>
     </form>
     
     <form name="EditPaymentGroup" type="single" target="updatePaymentGroup" 
title="" default-map-name="paymentGroup">

Reply via email to