Cake php menu generation

hai everyone........

I am trying to generate dynamic menu according to the user permission given with ACL component in cake php..

ie., if a user logins, i need to check which all actions are permitted for that specific user and according that list of actions i need to generate menu

can any one help me to get all the permitted actions from the acos,aros,acos_aros tables

thanks in advance