User Based Page Access

Dear Experts,

 Please support me for control user access from admin panel. How to store the actions in DataBase and get in Admin Panel so that the admin can select users for the action and store it. If the user login i have to get the access privilege from DB weather the user having permission to access this page if not redirect to a error page. For every user the privilege can differ. And also i need support for the table structure how it be easy to store. 

I would be thankful for the experts.



See this link