Last active
December 17, 2015 14:09
-
-
Save xcommerce-gists/5622052 to your computer and use it in GitHub Desktop.
Magento ACL for webhooks topic resources: etc/webapi/acl.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<config> | |
<acl> | |
<resources> | |
<resource id="Magento_Webapi"> | |
<resource id="customer" title="Manage Customers" module="Magento_Customer"> | |
<resource id="customer/create" title="Create" sortOrder="10" /> | |
<resource id="customer/get" title="Retrieve" sortOrder="20" /> | |
<resource id="customer/update" title="Update" sortOrder="30" /> | |
<resource id="customer/delete" title="Delete" sortOrder="40" /> | |
</resource> | |
</resource> | |
</resources> | |
</acl> | |
<mapping> | |
<resource id="customer/list" parent="customer/get" /> | |
<!-- webhooks --> | |
<resource id="customer/updated" parent="customer/get"/> | |
<resource id="customer/created" parent="customer/get"/> | |
<resource id="customer/deleted" parent="customer/get"/> | |
</mapping> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment