I have updated the parent of a menu item which is coming from a third party extension. I have updated the menu item by my custom module's menu.xml file.
For instance, the menu was coming under Marketing >> Promotions >> Gift Card History. I have changed the menu position to Reports >> Others >> Gift Card Accounting by using the following code:
<update id="Magestore_Giftvoucher::gifthistory" title="Gift Cards Accounting" sortOrder="40" parent="Stream_ChangeCoreMenuPosition::others"/>
Since the parent of the menu item has been changed, now I need to modify the ACL of this item also.
For this, I don't want to make changes in the extension's acl.xml file. So I have created my own acl.xml in my custom module, but when I add the ACL entry for the modified menu position, I get the following error:
Please help me, how can I modify the ACL of the extension using my custom module (without modifying the extension's files).