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 cfed026 commit e64b3efCopy full SHA for e64b3ef
app/code/Magento/Email/Controller/Adminhtml/Email/Template/Popup.php
@@ -10,6 +10,13 @@
10
*/
11
class Popup extends \Magento\Backend\App\Action
12
{
13
+ /**
14
+ * Authorization level of a basic admin session.
15
+ *
16
+ * @see _isAllowed()
17
+ */
18
+ const ADMIN_RESOURCE = 'Magento_Email::template';
19
+
20
/**
21
* @var \Magento\Framework\View\Result\PageFactory
22
@@ -38,12 +45,4 @@ public function execute()
38
45
39
46
return $this->resultPageFactory->create();
40
47
}
41
-
42
- /**
43
- * @inheritdoc
44
- */
- protected function _isAllowed()
- {
- return $this->_authorization->isAllowed('Magento_Email::template');
48
- }
49
0 commit comments