I need a php script(s) that will allow me to create a dynamic navigation menu with a submenu (2-3 levels deeps - e.g. Profile --> Settings --> Password) and save it in a mySQL DB table. However, I need to be able to assign a user to a role and choose whether that role can see the pages that have been added. Not necessarily an ACL but page-based access depending on the user's role. There may be 20-30 pages where access can be granted based on the user's role and there may be several roles. All dynamic, even the order in which the menu is displayed on the page. I want to avoid a framework such as Joomla and WordPress. I need this to be simple but functional.