Skip to content

Commit e7d5d6f

Browse files
committed
Merge pull request #21 from gruenspar/security_patch_SUPEE-6285
add method isAllowed which is needed afer security patch SUPEE-6285
2 parents dd35d07 + 067b7c9 commit e7d5d6f

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)