Skip to content

Commit 067b7c9

Browse files
add method isAllowed which is needed afer security patch SUPEE-6285
1 parent 995164f commit 067b7c9

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/app/code/community/FireGento/AdminMonitoring/controllers/Adminhtml/HistoryController.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,15 @@ public function getMonitoringHelper()
117117
{
118118
return Mage::helper('firegento_adminmonitoring');
119119
}
120+
121+
122+
/**
123+
* Check is allowed access to action - needed afer security patch SUPEE-6285
124+
*
125+
* @return bool
126+
*/
127+
protected function _isAllowed()
128+
{
129+
return Mage::getSingleton('admin/session')->isAllowed('system/history');
130+
}
120131
}

0 commit comments

Comments
 (0)