Hi!
Your links are not working. I did this in my project. You must unset the operations (at least the list and back to list with unset_list() and unset_back_to_list()). When you render, grocery will raise an exception saying that you don't have permission to access the list operation (the grid). So you can catch it and redirect to the edit form. Example:
$crud = new Grocery_CRUD();
$crud->set_table($this->_table);
$crud->unset_list();
$crud->unset_back_to_list();
$crud->unset_delete();
$crud->unset_add();
$crud->unset_read();
$crud->unset_export();
$crud->unset_print();
try {
$output = $crud->render(); //this will raise an exception when the action is list
$this->template->load('template', 'default_view', $output);
} catch (Exception $e) {
if ($e->getCode() == 14) { //The 14 is the code of the error on grocery CRUD (don't have permission).
//redirect using your user id
redirect(strtolower(__CLASS__) . '/' . strtolower(__FUNCTION__) . '/edit/' . $theUserID);
} else {
show_error($e->getMessage());
return false;
}
}