In Magento2, We have Access Control Lists (ACL) feature to restrict pages based on user access control. We might need to restrict some html div for specific users so in this case magento2 in we need to add access control condition in phtml file.In this blog, We can see how we can add access control condition in .phtml file. We can see similar code in magento default. I hope this blog is useful to add…
Tag