We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d97762 + d38de31 commit b5c2446Copy full SHA for b5c2446
app/code/Magento/Webapi/Controller/Soap/Request/Handler.php
@@ -107,10 +107,10 @@ public function __call($operation, $arguments)
107
throw new WebapiException(__("Operation allowed only in HTTPS"));
108
}
109
110
- $isAllowed = false;
+ $isAllowed = true;
111
foreach ($serviceMethodInfo[ServiceMetadata::KEY_ACL_RESOURCES] as $resource) {
112
- if ($this->_authorization->isAllowed($resource)) {
113
- $isAllowed = true;
+ if (!$this->_authorization->isAllowed($resource)) {
+ $isAllowed = false;
114
break;
115
116
0 commit comments