Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Personnalisation du back office
 
sandrae
Jr. Member
 
Total Posts:  4
Joined:  2008-10-22
 

J’ai crée un nouveau module dans Magento qui apparait sans problème dans le back office à condition que l’utilisateur ait accès à toutes les ressources.
En revanche, si je personnalise l’accès aux ressources pour un utilisateur, mon nouveau module n’apparait pas, et la case ne reste pas cochée…
Avez-vous une idée de ce qu’il faut modifier?
Merci d’avance pour votre aide.

 
Magento Community Magento Community
Magento Community
Magento Community
 
SeL_
Magento Team
 
Avatar
Total Posts:  1140
Joined:  2007-10-10
Paris, France
 

Bonjour,

Il faut définir correctement les ACL.
Regarde l’exemple dans le fichier config.xml (app/code/core/Mage/Cms/etc/config.xml) du module CMS par exemple.

<acl>
            <
resources>
                <
admin>
                    <
children>
                        <
cms>
                            <
title>CMS</title>
                            <
sort_order>70</sort_order>
                            <
children>
                                <
block>
                                    <
title>Static Blocks</title>
                                    <
sort_order>0</sort_order>
                                </
block>
                                <
page>
                                    <
title>Manage Pages</title>
                                    <
sort_order>10</sort_order>
                                </
page>
                                <
poll>
                                    <
title>Poll Manager</title>
                                    <
sort_order>20</sort_order>
                                </
poll>
                            </
children>
                        </
cms>
                    </
children>
                </
admin>
            </
resources>
        </
acl>
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top