From ea9491a63713382ce7edff56bc757b1590cf99f8 Mon Sep 17 00:00:00 2001 From: Joan He Date: Tue, 9 Jan 2018 20:10:35 -0600 Subject: [PATCH] MAGETWO-85065: Implement a framework for dynamically composing what's new content - Fix travis build failure, backend controller has to overwrite _isAllowed method or ADMIN_RESOURCE constant --- .../Controller/Adminhtml/Notification/MarkUserNotified.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/code/Magento/ReleaseNotification/Controller/Adminhtml/Notification/MarkUserNotified.php b/app/code/Magento/ReleaseNotification/Controller/Adminhtml/Notification/MarkUserNotified.php index 05e28599c67b7..0306426c18d33 100644 --- a/app/code/Magento/ReleaseNotification/Controller/Adminhtml/Notification/MarkUserNotified.php +++ b/app/code/Magento/ReleaseNotification/Controller/Adminhtml/Notification/MarkUserNotified.php @@ -84,4 +84,9 @@ public function execute() $resultJson = $this->resultFactory->create(ResultFactory::TYPE_JSON); return $resultJson->setData($responseContent); } + + protected function _isAllowed() + { + return parent::_isAllowed(); + } }