ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
namespace Magento\WebapiAsync\Model;
|
||||
|
||||
use Magento\Framework\Webapi\Authorization;
|
||||
|
||||
class AuthorizationMock extends Authorization
|
||||
{
|
||||
/**
|
||||
* @param string[] $aclResources
|
||||
* @return bool
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
*/
|
||||
public function isAllowed($aclResources)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user