system.xml 1.1 KB

12345678910111213141516171819
  1. <?xml version="1.0"?>
  2. <!--
  3. ~ Copyright © Magento, Inc. All rights reserved.
  4. ~ See COPYING.txt for license details.
  5. -->
  6. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
  7. <system>
  8. <section id="webapi" type="text" sortOrder="102" showInDefault="1" showInWebsite="1" showInStore="1">
  9. <group id="webapisecurity" translate="label" type="text" sortOrder="250" showInDefault="1" showInWebsite="0" showInStore="0">
  10. <label>Web API Security</label>
  11. <field id="allow_insecure" translate="label comment" type="select" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
  12. <label>Allow Anonymous Guest Access</label>
  13. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  14. <comment>This feature applies only to CMS, Catalog and Store APIs. Please consult your developers for details on potential security risks.</comment>
  15. </field>
  16. </group>
  17. </section>
  18. </system>
  19. </config>