Skip to content

Commit 20fe3ae

Browse files
authored
ENGCOM-5505: Resolve Report->Product->Downloads has wrong ACL issue 23900 #23901
2 parents 651b585 + 18bc3b5 commit 20fe3ae

File tree

1 file changed

+6
-2
lines changed
  • app/code/Magento/Reports/Controller/Adminhtml/Report/Product

1 file changed

+6
-2
lines changed

app/code/Magento/Reports/Controller/Adminhtml/Report/Product/Downloads.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
6+
declare(strict_types=1);
7+
78
namespace Magento\Reports\Controller\Adminhtml\Report\Product;
89

910
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
1011

12+
/**
13+
* Class \Magento\Reports\Controller\Adminhtml\Report\Product\Downloads
14+
*/
1115
class Downloads extends \Magento\Reports\Controller\Adminhtml\Report\Product implements HttpGetActionInterface
1216
{
1317
/**
1418
* Authorization level of a basic admin session
1519
*
1620
* @see _isAllowed()
1721
*/
18-
const ADMIN_RESOURCE = 'Magento_Reports::report_products';
22+
const ADMIN_RESOURCE = 'Magento_Reports::downloads';
1923

2024
/**
2125
* Downloads action

0 commit comments

Comments
 (0)