Skip to content

Commit 1f12acf

Browse files
committed
Fix static test issue25881
1 parent da1daae commit 1f12acf

File tree

1 file changed

+6
-2
lines changed
  • app/code/Magento/Backend/Controller/Adminhtml/Index

1 file changed

+6
-2
lines changed

app/code/Magento/Backend/Controller/Adminhtml/Index/Denied.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@
99
namespace Magento\Backend\Controller\Adminhtml\Index;
1010

1111
use Magento\Backend\Controller\Adminhtml\Denied as DeniedController;
12+
use Magento\Framework\App\Action\HttpGetActionInterface;
1213

1314
/**
1415
* To display Denied Page
1516
*
1617
* Class Denied
1718
*/
18-
class Denied extends DeniedController
19+
class Denied extends DeniedController implements HttpGetActionInterface
1920
{
20-
21+
/**
22+
* Authorization level of a basic admin session
23+
*/
24+
const ADMIN_RESOURCE = 'Magento_Backend::admin';
2125
}

0 commit comments

Comments
 (0)