1

here is my acl.xml

 <?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Acl/etc/acl.xsd">
    <acl>
        <resources>
            <resource id="Magento_Adminhtml::admin" >
                <resource id="COZYVISION_Smsalert::sms" title="SMS Alert" sortOrder="100">
                    <resource id="COZYVISION_Smsalert::config" title="Config" sortOrder="10" />
                </resource>
                <resource id="Magento_Adminhtml::stores">
                    <resource id="Magento_Adminhtml::stores_settings">
                        <resource id="Magento_Adminhtml::config">
                            <resource id="COZYVISION_Smsalert::sms_config" title="Configuration" />
                        </resource>
                    </resource>
                </resource>
            </resource>
        </resources>
    </acl>
</config>
1
  • 1
    solved by myself – Hemant Apr 28 '19 at 10:59
0

here is the answer

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Acl/etc/acl.xsd">
    <acl>
        <resources>
            <resource id="Magento_Adminhtml::admin" title="admin" >
                <resource id="COZYVISION_Smsalert::sms" title="SMS Alert" sortOrder="100">
                    <resource id="COZYVISION_Smsalert::config" title="Config" sortOrder="10" />
                </resource>
                <resource id="Magento_Adminhtml::stores" title="stores">
                    <resource id="Magento_Adminhtml::stores_settings" title="stores_settings">
                        <resource id="Magento_Adminhtml::config" title="config">
                            <resource id="COZYVISION_Smsalert::sms_config" title="Configuration" />
                        </resource>
                    </resource>
                </resource>
            </resource>
        </resources>
    </acl>
</config>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.