Added a new GUI module , also disabled the same fo...
# help
a
Added a new GUI module , also disabled the same for backoffice users , executed navigation:cache-build command , the new GUI is appearing as a menu in merchant portal as well as back office . As I have already denied access to backoffice , it is not able to access but how do I remove the menu from backoffice and only make it available under merchant portal ?
g
this is done through role permissions, you need to add a rule to allow it for the merchant portal and a separate rule to deny it to the operator users
you should also include those rules in these files src/Pyz/Zed/Acl/AclConfig.php and src/Pyz/Zed/AclMerchantPortal/AclMerchantPortalConfig.php
a
I have already disabled the bundle in acl config , but still the menu is getting disabled in backoffice
So adding a deny entry for root_rule in backoffice , fixed it Thanks