September 2018
Beginner to intermediate
218 pages
4h 27m
English
The Magento web API framework differentiates three fundamental types of users:
<resources> <resource ref="anonymous" /></resources>
<resources> <resource ref="self"/></resources>
<resources> <resource ref="Magento_Cms::save"" /></resources>
To further understand what this means, we need to understand the link between <VendorName>/<ModuleName>/acl.xml and <VendorName>/<ModuleName>/webapi.xml.
The acl.xml is where we define our access resources. Let's take a closer look at the partial extract of one such resource, defined in the <MAGENTO_DIR>/module-cms/etc/acl.xml ...
Read now
Unlock full access