Skip to main content
Tweeted twitter.com/StackMagento/status/981277578886635521

I have created a custom module for backend in Magento 1.9.

ThatThis module is applicable to all users and roles.

<menu>
        <videos module="videos">
            <title>Video Tutorials</title>
            <sort_order>900</sort_order>               
            <children>
                <bitsvideo module="videos">
                    <title>BITS</title>
                    <sort_order>5</sort_order>
                    <action>videos/adminhtml_videos</action>
                </bitsvideo>
            </children>
        </videos>
    </menu>
    <acl>
        <resources>
            <admin>
                <children>
                    <videos module="videos">
                        <sort_order>900</sort_order>               
                        <children>
                          <bitsvideo module="videos">
                              <title>BITS</title>
                              <sort_order>5</sort_order>
                              <action>videos/adminhtml_videos</action>
                           </bitsvideo>
                        </children>
                      </videos>  
                </children>
            </admin>
        </resources>
    </acl>

How todo I write acl for that.this?

The above code referis my acl.

Where What do I need to change.?

How tocan I write acl forto give permissionpermissions to all users by default.?

I have created custom module for backend in Magento 1.9.

That module applicable to all users and roles.

<menu>
        <videos module="videos">
            <title>Video Tutorials</title>
            <sort_order>900</sort_order>               
            <children>
                <bitsvideo module="videos">
                    <title>BITS</title>
                    <sort_order>5</sort_order>
                    <action>videos/adminhtml_videos</action>
                </bitsvideo>
            </children>
        </videos>
    </menu>
    <acl>
        <resources>
            <admin>
                <children>
                    <videos module="videos">
                        <sort_order>900</sort_order>               
                        <children>
                          <bitsvideo module="videos">
                              <title>BITS</title>
                              <sort_order>5</sort_order>
                              <action>videos/adminhtml_videos</action>
                           </bitsvideo>
                        </children>
                      </videos>  
                </children>
            </admin>
        </resources>
    </acl>

How to write acl for that.

The above code refer my acl.

Where I need to change.?

How to write acl for give permission to all users by default.?

I have created a custom module for backend in Magento 1.9.

This module is applicable to all users and roles.

<menu>
    <videos module="videos">
        <title>Video Tutorials</title>
        <sort_order>900</sort_order>               
        <children>
            <bitsvideo module="videos">
                <title>BITS</title>
                <sort_order>5</sort_order>
                <action>videos/adminhtml_videos</action>
            </bitsvideo>
        </children>
    </videos>
</menu>
<acl>
    <resources>
        <admin>
            <children>
                <videos module="videos">
                    <sort_order>900</sort_order>               
                    <children>
                      <bitsvideo module="videos">
                          <title>BITS</title>
                          <sort_order>5</sort_order>
                          <action>videos/adminhtml_videos</action>
                       </bitsvideo>
                    </children>
                  </videos>  
            </children>
        </admin>
    </resources>
</acl>

How do I write acl for this?

The above code is my acl. What do I need to change?

How can I write acl to give permissions to all users by default?

added 66 characters in body
Source Link

I have created custom module for backend in Magento 1.9.

That module applicable to all users and roles.

<menu>
        <videos module="videos">
            <title>Video Tutorials</title>
            <sort_order>900</sort_order>               
            <children>
                <bitsvideo module="videos">
                    <title>BITS</title>
                    <sort_order>5</sort_order>
                    <action>videos/adminhtml_videos</action>
                </bitsvideo>
            </children>
        </videos>
    </menu>
    <acl>
        <resources>
            <admin>
                <children>
                    <videos module="videos">
                        <sort_order>900</sort_order>               
                        <children>
                          <bitsvideo module="videos">
                              <title>BITS</title>
                              <sort_order>5</sort_order>
                              <action>videos/adminhtml_videos</action>
                           </bitsvideo>
                        </children>
                      </videos>  
                </children>
            </admin>
        </resources>
    </acl>

How to write acl for that.

The above code refer my acl.

Where I need to change.?

How to write acl for give permission to all users by default.?

I have created custom module for backend in Magento 1.9.

That module applicable to all users and roles.

<menu>
        <videos module="videos">
            <title>Video Tutorials</title>
            <sort_order>900</sort_order>               
            <children>
                <bitsvideo module="videos">
                    <title>BITS</title>
                    <sort_order>5</sort_order>
                    <action>videos/adminhtml_videos</action>
                </bitsvideo>
            </children>
        </videos>
    </menu>
    <acl>
        <resources>
            <admin>
                <children>
                    <videos module="videos">
                        <sort_order>900</sort_order>               
                        <children>
                          <bitsvideo module="videos">
                              <title>BITS</title>
                              <sort_order>5</sort_order>
                              <action>videos/adminhtml_videos</action>
                           </bitsvideo>
                        </children>
                      </videos>  
                </children>
            </admin>
        </resources>
    </acl>

How to write acl for that.

The above code refer my acl.

Where I need to change.?

I have created custom module for backend in Magento 1.9.

That module applicable to all users and roles.

<menu>
        <videos module="videos">
            <title>Video Tutorials</title>
            <sort_order>900</sort_order>               
            <children>
                <bitsvideo module="videos">
                    <title>BITS</title>
                    <sort_order>5</sort_order>
                    <action>videos/adminhtml_videos</action>
                </bitsvideo>
            </children>
        </videos>
    </menu>
    <acl>
        <resources>
            <admin>
                <children>
                    <videos module="videos">
                        <sort_order>900</sort_order>               
                        <children>
                          <bitsvideo module="videos">
                              <title>BITS</title>
                              <sort_order>5</sort_order>
                              <action>videos/adminhtml_videos</action>
                           </bitsvideo>
                        </children>
                      </videos>  
                </children>
            </admin>
        </resources>
    </acl>

How to write acl for that.

The above code refer my acl.

Where I need to change.?

How to write acl for give permission to all users by default.?

Source Link

Give custom module's access to all in Magento 1.9

I have created custom module for backend in Magento 1.9.

That module applicable to all users and roles.

<menu>
        <videos module="videos">
            <title>Video Tutorials</title>
            <sort_order>900</sort_order>               
            <children>
                <bitsvideo module="videos">
                    <title>BITS</title>
                    <sort_order>5</sort_order>
                    <action>videos/adminhtml_videos</action>
                </bitsvideo>
            </children>
        </videos>
    </menu>
    <acl>
        <resources>
            <admin>
                <children>
                    <videos module="videos">
                        <sort_order>900</sort_order>               
                        <children>
                          <bitsvideo module="videos">
                              <title>BITS</title>
                              <sort_order>5</sort_order>
                              <action>videos/adminhtml_videos</action>
                           </bitsvideo>
                        </children>
                      </videos>  
                </children>
            </admin>
        </resources>
    </acl>

How to write acl for that.

The above code refer my acl.

Where I need to change.?