Если у вас есть модель Post and Comment, а user_id присутствует через объект $ this-> Auth -> ..., вы можете определить универсальный метод в вашей модели:
function allowUserPost($user_id, $post_id) {
// Then check if this $user_id owns the $post_id
// if true, return true, if false, return false
}
В вашем контроллере:
function deletePost($post_id) {
if($this->Post->allowUserPost($user_id, $post_id) {
// Go ahead, delete
} else {
// Deny
}