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 b08b7ea commit 21339bcCopy full SHA for 21339bc
app/code/Magento/Newsletter/Controller/Adminhtml/Queue/Edit.php
@@ -59,4 +59,12 @@ public function execute()
59
60
$this->_view->renderLayout();
61
}
62
+
63
+ /**
64
+ * @return bool
65
+ */
66
+ protected function _isAllowed()
67
+ {
68
+ return $this->_authorization->isAllowed('Magento_Newsletter::queue');
69
+ }
70
app/code/Magento/Newsletter/Controller/Adminhtml/Template/Edit.php
@@ -67,4 +67,12 @@ public function execute()
71
72
73
74
75
76
+ return $this->_authorization->isAllowed('Magento_Newsletter::template');
77
78
0 commit comments