Author Topic: Miising ACL for Coupon state  (Read 678 times)


  • Beginner
  • *
  • Posts: 33
  • A beginner
Miising ACL for Coupon state
« on: November 29, 2021, 11:50:47 am »

I just discovered that there ois no ACL for Coupon edit state. Even when all 4 ACL are enabled for coupons (access, edit, view and delete), useres with limited access (non super users) are not able to edit state of coupon.
Solution is to add
Code: [Select]
<action name="" title="COM_VM_COUPON_EDIT_STATE" description="COM_VM_COUPON_EDIT_STATE_TIP" />
to access.xml file, plus language constants
Code: [Select]
COM_VM_COUPON_EDIT_STATE="Coupon edit state"
COM_VM_COUPON_EDIT_STATE_TIP="Allow to edit state of coupon"
to en-GB.com_virtuemart_perms.ini

This adds proper ACl in ACL list and works out of box. Thank you for consideration to include this in core.