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.
1 parent 369b3a0 commit 347d9adCopy full SHA for 347d9ad
app/code/Magento/LoginAsCustomerAssistance/Plugin/CustomerDataValidatePlugin.php
@@ -57,8 +57,8 @@ public function beforeExtractData(
57
$scope = null,
58
$scopeOnly = true
59
): void {
60
- if (!$this->authorization->isAllowed('Magento_LoginAsCustomer::opt_in_preference')
61
- && $this->isSetAssistanceAllowedParam($request)
+ if ($this->isSetAssistanceAllowedParam($request)
+ && !$this->authorization->isAllowed('Magento_LoginAsCustomer::opt_in_preference')
62
) {
63
$customerId = $request->getParam('customer_id');
64
$assistanceAllowedParam =
0 commit comments