title: how to check user permission given to user (code igniter )
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4977707/codeigniter-authentication-user-privileges">CodeIgniter authentication + user privileges</a>  </p>
  </blockquote>
  
  
  
  <p>I had 5 user type and  have permission table in which i give differnt permission to different user . permission like is_view,is_delete,is_add etc . User access the feature according to these permission. </p>
  
  <p>I complete Database. I want to check the permission given to user on each page before the controller is called.   </p>