I wish to restrict components to gain access to by Manager role in Joomla 1.5.

And it'll be great if it's possible just by some type of code rather using any component / extension.

Any assistance will be appreciated.

Thanks

May this should help you?

Go throw this link...

http://forum.joomla.org/viewtopic.php?p=2410109

You will not have the ability to achieve access control levels with only a couple of lines of code. Whether it was that easy, ACL wouldn't be this type of large deal.

You'll need extra time that enables you to definitely manage the admin access levels. Have a look at these -

http://extensions.joomla.org/extensions/access-a-security/backend-a-full-access-control/13524

http://extensions.joomla.org/extensions/access-a-security/backend-a-full-access-control/2587

http://extensions.joomla.org/extensions/access-a-security/backend-a-full-access-control/9040 - there's additionally a more complex professional version too

All these should provide you with the control you'll need.