if ($this->tank_auth->is_role('admin')){
$crud = new grocery_CRUD();
$crud->set_table('users');
//other variables
} else {
//code that i need
}
my admin can crud, it works perfectly, however right now i'm trying to let for 'users' to only edit their inserted information on the edit page, but I can't figure out how to do it, they either can't access edit page because of the if statement or they can access all users tables and edit them, any suggestions?