Skip to content

Commit 0c27bf9

Browse files
committed
AC-11496: Fix for import/export tax rates
1 parent e4b29a4 commit 0c27bf9

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/TaxImportExport/Controller/Adminhtml

1 file changed

+3
-3
lines changed

app/code/Magento/TaxImportExport/Controller/Adminhtml/Rate.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ public function __construct(
4545
protected function _isAllowed(): bool
4646
{
4747
return match (strtolower($this->getRequest()->getActionName())) {
48-
'importexport','importpost','exportcsv','exportxml', 'exportpost' =>
49-
$this->_authorization->isAllowed('Magento_TaxImportExport::import_export'),
48+
'importexport', 'importpost', 'exportcsv', 'exportxml', 'exportpost' =>
49+
$this->_authorization->isAllowed('Magento_TaxImportExport::import_export'),
5050
default =>
51-
$this->_authorization->isAllowed(self::ADMIN_RESOURCE),
51+
$this->_authorization->isAllowed(self::ADMIN_RESOURCE),
5252
};
5353
}
5454
}

0 commit comments

Comments
 (0)