<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) 2022 Amasty (https://www.amasty.com)
* @package Automatic Related Products for Magento 2
*/-->

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
    <acl>
        <resources>
            <resource id="Magento_Backend::admin">
                <resource id="Magento_Backend::stores">
                    <resource id="Magento_Backend::stores_settings">
                        <resource id="Magento_Config::config">
                            <resource id="Amasty_Mostviewed::config" title="Amasty Automatic Related Products" sortOrder="012118"/>
                        </resource>
                    </resource>
                </resource>
                <resource id="Magento_Catalog::catalog">
                    <resource id="Amasty_Mostviewed::mostviewed" title="Amasty Related Products" translate="title" sortOrder="10">
                        <resource id="Amasty_Mostviewed::rule" title="Related Product Rules" translate="title" sortOrder="10"/>
                        <resource id="Amasty_Mostviewed::pack" title="Bundle Packs" translate="title" sortOrder="20"/>
                    </resource>
                </resource>
                <resource id="Magento_Reports::report">
                    <resource id="Amasty_Mostviewed::mostviewed_sales" title="Amasty Related Products" translate="title" sortOrder="106">
                        <resource id="Amasty_Mostviewed::pack_sales" title="Bundle Pack Sales" translate="title" sortOrder="10"/>
                    </resource>
                </resource>
            </resource>
        </resources>
    </acl>
</config>
