php - Access Denied after applying Magento SUPEE 6285 -


i applied magento patch supee-6285 , having permissions issues non-admin users. sections of admin accessible limited users no longer accessible. if @ role resources role see section enabled and, when logged role see menu option, if pick access denied. 3 extensions know of far giving me trouble are

  1. commerce themes - guess registered customer
    • they add "manage guest reg" under "customers" menu
  2. adjustware - abandoned cart alerts
    • they add menu items under newsletter
  3. adjustware - review reminders
    • they add menu items under newsletter

i'm sure there other extensions similar problems, , it's due how implemented admin pages, haven't been able figure out yet. have fix?

update tried changing how router defined, didn't help.

was:

<admin>     <routers>         <guesttoreg>             <use>admin</use>             <args>                 <module>commercethemes_guesttoreg</module>                 <frontname>guesttoreg</frontname>             </args>         </guesttoreg>     </routers> </admin> 

changed to:

<admin>     <routers>         <adminhtml>             <args>                 <modules>                     <guesttoreg after="mage_adminhtml">commercethemes_guesttoreg_adminhtml</guesttoreg>                 </modules>             </args>         </adminhtml>     </routers> </admin> 

thanks ron v able find full answer enables menu permission.

given following adminhtml.xml file:

<config>     <acl>         <resources>             <admin>                 <children>                     <path_to>                         <children>                             <acl_resource>                                 <title>my acl resource</title>                             </acl_resource>                         </children>                     </path_to>                 </children>             </admin>         </resources>     </acl> </config> 

you can extract resource path pass isallowed() determine if menu should shown user.

protected function _isallowed(){     return mage::getsingleton('admin/session')->isallowed('path_to/acl_resource'); } 

Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -