Monday, September 7, 2009

authorization of new component in Joomla

If u have created a new administrator component in joomla it will not be authorized till u add it in the libraries/joomla/user/authorization.php
add the code like
$this->addACL( 'com_newcomponent', 'manage', 'users', 'administrator' );
$this->addACL( 'com_newcomponent', 'manage', 'users', 'super administrator' );

2 comments:

Unknown said...

I have searched google for "authorization of new component in Joomla" and find it on your blog that is very helpful . thanks for the post

AbdulBasit said...

Hi
Thanks for the appreciation
http://www.abdulbasitnawab.com