<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<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_Sales::sales" title="Sales" translate="title" sortOrder="20">
                    <resource id="Magento_Sales::sales_operation" title="Operations" translate="title" sortOrder="10">
                        <resource id="Magento_Sales::sales_order"  title="Orders" translate="title" sortOrder="10">
                            <resource id="Magento_Sales::actions" title="Actions" translate="title" sortOrder="10">
                                <resource id="Magento_Sales::create" title="Create" translate="title" sortOrder="10" />
                                <resource id="Magento_Sales::actions_view" title="View" translate="title" sortOrder="20" />
                                <resource id="Magento_Sales::email" title="Send Order Email" translate="title" sortOrder="30" />
                                <resource id="Magento_Sales::reorder" title="Reorder" translate="title" sortOrder="40" />
                                <resource id="Magento_Sales::actions_edit" title="Edit" translate="title" sortOrder="50" />
                                <resource id="Magento_Sales::cancel" title="Cancel" translate="title" sortOrder="60" />
                                <resource id="Magento_Sales::review_payment" title="Accept or Deny Payment" translate="title" sortOrder="70" />
                                <resource id="Magento_Sales::capture" title="Capture" translate="title" sortOrder="80" />
                                <resource id="Magento_Sales::invoice" title="Invoice" translate="title" sortOrder="90" />
                                <resource id="Magento_Sales::creditmemo" title="Credit Memos" translate="title" sortOrder="100" />
                                <resource id="Magento_Sales::hold" title="Hold" translate="title" sortOrder="110" />
                                <resource id="Magento_Sales::unhold" title="Unhold" translate="title" sortOrder="120" />
                                <resource id="Magento_Sales::ship" title="Ship" translate="title" sortOrder="130" />
                                <resource id="Magento_Sales::comment" title="Comment" translate="title" sortOrder="140" />
                                <resource id="Magento_Sales::emails" title="Send Sales Emails" translate="title" sortOrder="150" />
                            </resource>
                        </resource>
                        <resource id="Magento_Sales::sales_invoice"   title="Invoices" translate="title" sortOrder="20" />
                        <resource id="Magento_Sales::shipment"   title="Shipments" translate="title" sortOrder="30" />
                        <resource id="Magento_Sales::sales_creditmemo"  title="Credit Memos" translate="title" sortOrder="40" />
                        <resource id="Magento_Sales::transactions"   title="Transactions" translate="title" sortOrder="70">
                            <resource id="Magento_Sales::transactions_fetch" title="Fetch" translate="title" sortOrder="10" />
                        </resource>
                    </resource>
                </resource>
                <resource id="Magento_Backend::stores">
                    <resource id="Magento_Backend::stores_settings">
                        <resource id="Magento_Sales::order_statuses"  title="Order Status" translate="title" sortOrder="40" />
                        <resource id="Magento_Config::config">
                            <resource id="Magento_Sales::config_sales" title="Sales Section" translate="title" sortOrder="60" />
                            <resource id="Magento_Sales::sales_email" title="Sales Emails Section" translate="title" sortOrder="65" />
                            <resource id="Magento_Sales::sales_pdf" title="PDF Print-outs" sortOrder="66" />
                        </resource>
                    </resource>
                </resource>
            </resource>
        </resources>
    </acl>
</config>
