Praxigento_LoginAs - Version 1.0.1

Version Notes

- Fix ACL related errors;

Download this release

Release Info

Developer Alex Gusev
Extension Praxigento_LoginAs
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/community/Praxigento/LoginAs/Config.php CHANGED
@@ -59,7 +59,7 @@ class Praxigento_LoginAs_Config
59
  */
60
  public static function canAccessCreatedBy()
61
  {
62
- return filter_var(Mage::getSingleton('admin/session')->isAllowed('sales/customer/prxgt_lgas_created_by_access'), FILTER_VALIDATE_BOOLEAN);
63
  }
64
 
65
  /**
@@ -68,7 +68,7 @@ class Praxigento_LoginAs_Config
68
  */
69
  public static function canAccessLoginAs()
70
  {
71
- return filter_var(Mage::getSingleton('admin/session')->isAllowed('sales/customer/prxgt_lgas_access'), FILTER_VALIDATE_BOOLEAN);
72
  }
73
 
74
  /**
59
  */
60
  public static function canAccessCreatedBy()
61
  {
62
+ return filter_var(Mage::getSingleton('admin/session')->isAllowed('sales/order/prxgt_lgas_created_by_access'), FILTER_VALIDATE_BOOLEAN);
63
  }
64
 
65
  /**
68
  */
69
  public static function canAccessLoginAs()
70
  {
71
+ return filter_var(Mage::getSingleton('admin/session')->isAllowed('customer/prxgt_lgas_access'), FILTER_VALIDATE_BOOLEAN);
72
  }
73
 
74
  /**
app/code/community/Praxigento/LoginAs/etc/config.xml CHANGED
@@ -23,7 +23,7 @@
23
  <config>
24
  <modules>
25
  <Praxigento_LoginAs>
26
- <version>1.0.0</version>
27
  </Praxigento_LoginAs>
28
  </modules>
29
  <admin>
@@ -71,7 +71,7 @@
71
  <!-- place ACL to config sections here -->
72
  <prxgt_lgas translate="title" module="prxgt_lgas_helper">
73
  <title>Praxigento: Login As Customer Section</title>
74
- <sort_order>10600</sort_order>
75
  </prxgt_lgas>
76
  </children>
77
  </config>
23
  <config>
24
  <modules>
25
  <Praxigento_LoginAs>
26
+ <version>1.0.1</version>
27
  </Praxigento_LoginAs>
28
  </modules>
29
  <admin>
71
  <!-- place ACL to config sections here -->
72
  <prxgt_lgas translate="title" module="prxgt_lgas_helper">
73
  <title>Praxigento: Login As Customer Section</title>
74
+ <sort_order>600</sort_order>
75
  </prxgt_lgas>
76
  </children>
77
  </config>
app/code/community/Praxigento/LoginAs/etc/release.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ 1.0.1:
2
+ - Fix ACL related errors;
3
+
4
+ 1.0.0:
5
+ - Initial version;
app/code/community/Praxigento/LoginAs/etc/system.xml CHANGED
@@ -33,7 +33,7 @@
33
  <label>Login as Customer</label>
34
  <tab>prxgt</tab>
35
  <frontend_type>text</frontend_type>
36
- <sort_order>10600</sort_order>
37
  <show_in_default>1</show_in_default>
38
  <show_in_website>1</show_in_website>
39
  <show_in_store>1</show_in_store>
33
  <label>Login as Customer</label>
34
  <tab>prxgt</tab>
35
  <frontend_type>text</frontend_type>
36
+ <sort_order>600</sort_order>
37
  <show_in_default>1</show_in_default>
38
  <show_in_website>1</show_in_website>
39
  <show_in_store>1</show_in_store>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Praxigento_LoginAs</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/apachepl-1.1.php">ASF</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Login as Customer by Praxigento</summary>
10
  <description>Allows store manager to login as a customer right from admin panel. No need for master password.</description>
11
- <notes>Hello World! :)</notes>
12
  <authors><author><name>Alex Gusev</name><user>praxigento</user><email>info@flancer.lv</email></author></authors>
13
- <date>2013-02-28</date>
14
- <time>08:54:50</time>
15
- <contents><target name="magecommunity"><dir name="Praxigento"><dir name="LoginAs"><file name="Config.php" hash="47ab33ba8197f2e952db00ee60a64e86"/><dir name="Helper"><file name="Data.php" hash="8953db573e1a359cce3177741a166024"/></dir><dir name="Model"><file name="Logger.php" hash="04ddc399d206a4f9c1c5f6088c8ad811"/><file name="Observer.php" hash="3b3e9128dfe7883344380956faff175c"/><file name="Package.php" hash="1c945f7061451eaec17ca7ba15d03590"/></dir><dir name="Test"><file name="ConfigTest.php" hash="bce99007796d30ee4086eba5a5c1fb08"/><dir name="Model"><file name="LoggerTest.php" hash="6f45e5a49612305912fd1fce72734008"/></dir><file name="phpunit.bootstrap.php" hash="b27a8bb387f22af87d3505d1ef6c0325"/><file name="phpunit.praxigento.loginas.xml" hash="8fdc08af610b56397ce4a026bbf1bf71"/></dir><dir name="controllers"><file name="LoginController.php" hash="bbb4de789aaec13af2f191a2015c728a"/><file name="RedirectController.php" hash="05133cd77c2d0cb9a99fe840d7247e73"/></dir><dir name="etc"><file name="config.xml" hash="8be7ad2f46c5d38ae4e5b743391e674f"/><file name="system.xml" hash="061cc6ca4787a71a07c6844c2efd7bf9"/></dir><dir name="sql"><dir name="prxgt_lgas_setup"><file name="mysql4-install-1.0.0.php" hash="e411ae4ef99146b606ddcdaf49020f8b"/><file name="prxgt_install_func.php" hash="17e7e7f7ac12da3c31eeb7ba37c3d524"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="prxgt"><dir name="lgas"><file name="loginas_adminhtml_layout.xml" hash="1c738335b661f3f5d68fa81520bd5d7a"/></dir></dir></dir><dir name="template"><dir name="prxgt"><dir name="lgas"><file name="redirect.phtml" hash="ccda9df924c7a0e79fdf85c163890674"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="prxgt"><dir name="lgas"><file name="prxgt_lgas.csv" hash="fa4a8396c84de6c3585b87d13c882085"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Praxigento_LoginAs.xml" hash="bbff13b9b95dfa4d1dd28bd2e25f74a3"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Praxigento_LoginAs</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/apachepl-1.1.php">ASF</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Login as Customer by Praxigento</summary>
10
  <description>Allows store manager to login as a customer right from admin panel. No need for master password.</description>
11
+ <notes>- Fix ACL related errors;</notes>
12
  <authors><author><name>Alex Gusev</name><user>praxigento</user><email>info@flancer.lv</email></author></authors>
13
+ <date>2013-04-08</date>
14
+ <time>12:57:27</time>
15
+ <contents><target name="magecommunity"><dir name="Praxigento"><dir name="LoginAs"><file name="Config.php" hash="6353a543c2a829fe3c36072b035f62f1"/><dir name="Helper"><file name="Data.php" hash="8953db573e1a359cce3177741a166024"/></dir><dir name="Model"><file name="Logger.php" hash="04ddc399d206a4f9c1c5f6088c8ad811"/><file name="Observer.php" hash="3b3e9128dfe7883344380956faff175c"/><file name="Package.php" hash="1c945f7061451eaec17ca7ba15d03590"/></dir><dir name="Test"><file name="ConfigTest.php" hash="bce99007796d30ee4086eba5a5c1fb08"/><dir name="Model"><file name="LoggerTest.php" hash="6f45e5a49612305912fd1fce72734008"/></dir><file name="phpunit.bootstrap.php" hash="b27a8bb387f22af87d3505d1ef6c0325"/><file name="phpunit.praxigento.loginas.xml" hash="8fdc08af610b56397ce4a026bbf1bf71"/></dir><dir name="controllers"><file name="LoginController.php" hash="bbb4de789aaec13af2f191a2015c728a"/><file name="RedirectController.php" hash="05133cd77c2d0cb9a99fe840d7247e73"/></dir><dir name="etc"><file name="config.xml" hash="e8a02cf95209014b15f0d77dd9f0b8c9"/><file name="release.txt" hash="1998e8844cfc4ed0d0bcba637eb2a423"/><file name="system.xml" hash="72d8cacd82b3f03efce67ec7dccf4990"/></dir><dir name="sql"><dir name="prxgt_lgas_setup"><file name="mysql4-install-1.0.0.php" hash="e411ae4ef99146b606ddcdaf49020f8b"/><file name="prxgt_install_func.php" hash="17e7e7f7ac12da3c31eeb7ba37c3d524"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="prxgt"><dir name="lgas"><file name="loginas_adminhtml_layout.xml" hash="1c738335b661f3f5d68fa81520bd5d7a"/></dir></dir></dir><dir name="template"><dir name="prxgt"><dir name="lgas"><file name="redirect.phtml" hash="ccda9df924c7a0e79fdf85c163890674"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="prxgt"><dir name="lgas"><file name="prxgt_lgas.csv" hash="fa4a8396c84de6c3585b87d13c882085"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Praxigento_LoginAs.xml" hash="bbff13b9b95dfa4d1dd28bd2e25f74a3"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>