Skip to content

Commit af00449

Browse files
author
Robert He
committed
MAGETWO-66882: Allowing Web API listing to be public - 2.2
- SOAP web service methods are listed in the public WSDL
1 parent 166a23f commit af00449

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

app/code/Magento/Webapi/Model/AbstractSchemaGenerator.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,7 @@ public function getListOfServices()
8383
{
8484
$listOfAllowedServices = [];
8585
foreach ($this->serviceMetadata->getServicesConfig() as $serviceName => $service) {
86-
foreach ($service[ServiceMetadata::KEY_SERVICE_METHODS] as $method) {
87-
if ($this->authorization->isAllowed($method[ServiceMetadata::KEY_ACL_RESOURCES])) {
88-
$listOfAllowedServices[] = $serviceName;
89-
break;
90-
}
91-
}
86+
$listOfAllowedServices[] = $serviceName;
9287
}
9388
return $listOfAllowedServices;
9489
}

0 commit comments

Comments
 (0)