Created
May 6, 2016 17:55
-
-
Save vmasciotta/b1e44154ffb28c52a6f178d521296dcf to your computer and use it in GitHub Desktop.
Zeon Manufactuer Fix Admin Permission error patch for Magento SUPEE-6285 or Magento 1.9.2.x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 230b50591a9954c68cd2e24ea5f5e38d08fc1c8d Mon Sep 17 00:00:00 2001 | |
From: valerio masciotta <[email protected]> | |
Date: Tue, 13 Oct 2015 17:50:33 +0000 | |
Subject: [PATCH] Fix admin permission error | |
--- | |
.../controllers/Adminhtml/Manufacturer/ListController.php | 5 +++++ | |
1 file changed, 5 insertions(+) | |
diff --git a/app/code/community/Zeon/Manufacturer/controllers/Adminhtml/Manufacturer/ListController.php b/app/code/community/Zeon/Manufacturer/controllers/Adminhtml/Manufacturer/ListController.php | |
index a7c3b07..d63d6b2 100644 | |
--- a/app/code/community/Zeon/Manufacturer/controllers/Adminhtml/Manufacturer/ListController.php | |
+++ b/app/code/community/Zeon/Manufacturer/controllers/Adminhtml/Manufacturer/ListController.php | |
@@ -287,5 +287,10 @@ class Zeon_Manufacturer_Adminhtml_Manufacturer_ListController extends Mage_Admin | |
$this->loadLayout(); | |
$this->renderLayout(); | |
} | |
+ | |
+ protected function _isAllowed() | |
+ { | |
+ return Mage::getSingleton('admin/session')->isAllowed('zextension/zeon_manufacturer'); | |
+ } | |
} | |
\ No newline at end of file | |
-- | |
1.8.4.5 | |
How do I apply patch .. please be more specific. Thank you.. via Cpanel or...?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Place this patch in your Magento root directory and apply it with:
patch -p1 < 0001-Fix-admin-permission-error.patch