Version Notes
- Add _isAllowed method to the controller to improve security (see patch 6285)
Download this release
Release Info
| Developer | Digital Pianism |
| Extension | DigitalPianism_ProductExport |
| Version | 1.1.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.1 to 1.1.2
app/code/community/DigitalPianism/ProductExport/controllers/Adminhtml/ProductexportController.php
CHANGED
|
@@ -4,6 +4,14 @@
|
|
| 4 |
*/
|
| 5 |
class DigitalPianism_ProductExport_Adminhtml_ProductexportController extends Mage_Adminhtml_Controller_Action
|
| 6 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
public function massExportAction()
|
| 8 |
{
|
| 9 |
$productIds = $this->getRequest()->getParam('product');
|
| 4 |
*/
|
| 5 |
class DigitalPianism_ProductExport_Adminhtml_ProductexportController extends Mage_Adminhtml_Controller_Action
|
| 6 |
{
|
| 7 |
+
/**
|
| 8 |
+
* @return mixed
|
| 9 |
+
*/
|
| 10 |
+
protected function _isAllowed()
|
| 11 |
+
{
|
| 12 |
+
return Mage::getSingleton('admin/session')->isAllowed('catalog/products');
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
public function massExportAction()
|
| 16 |
{
|
| 17 |
$productIds = $this->getRequest()->getParam('product');
|
app/code/community/DigitalPianism/ProductExport/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<DigitalPianism_ProductExport>
|
| 5 |
-
<version>1.1.
|
| 6 |
</DigitalPianism_ProductExport>
|
| 7 |
</modules>
|
| 8 |
<global>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<DigitalPianism_ProductExport>
|
| 5 |
+
<version>1.1.2</version>
|
| 6 |
</DigitalPianism_ProductExport>
|
| 7 |
</modules>
|
| 8 |
<global>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>DigitalPianism_ProductExport</name>
|
| 4 |
-
<version>1.1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -24,11 +24,11 @@
|
|
| 24 |

|
| 25 |
<p>Install the module manually or via Magento Connect</p>
|
| 26 |
<p>Then login to the backend and flush your cache</p></description>
|
| 27 |
-
<notes>-
|
| 28 |
<authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
|
| 29 |
-
<date>2015-10-
|
| 30 |
-
<time>
|
| 31 |
-
<contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="ProductExport"><dir name="Model"><file name="Observer.php" hash="08a15dccb28bd10f5ea28768bb957a94"/></dir><dir name="Test"><dir name="Config"><file name="Main.php" hash="c6319b41e434f96795ffc3111529540d"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ProductexportController.php" hash="
|
| 32 |
<compatible/>
|
| 33 |
<dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
|
| 34 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>DigitalPianism_ProductExport</name>
|
| 4 |
+
<version>1.1.2</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 24 |

|
| 25 |
<p>Install the module manually or via Magento Connect</p>
|
| 26 |
<p>Then login to the backend and flush your cache</p></description>
|
| 27 |
+
<notes>- Add _isAllowed method to the controller to improve security (see patch 6285)</notes>
|
| 28 |
<authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
|
| 29 |
+
<date>2015-10-29</date>
|
| 30 |
+
<time>10:07:28</time>
|
| 31 |
+
<contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="ProductExport"><dir name="Model"><file name="Observer.php" hash="08a15dccb28bd10f5ea28768bb957a94"/></dir><dir name="Test"><dir name="Config"><file name="Main.php" hash="c6319b41e434f96795ffc3111529540d"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ProductexportController.php" hash="23c527b6bc223e1b9d3cde593bf92ccf"/></dir></dir><dir name="etc"><file name="config.xml" hash="39198e3e22cec96388c8838993200d21"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DigitalPianism_ProductExport.xml" hash="6cdbc2897d42c0d1d4d682ad613e244f"/></dir></target></contents>
|
| 32 |
<compatible/>
|
| 33 |
<dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
|
| 34 |
</package>
|
