Index: modules/comment/comment.module =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v retrieving revision 1.477 diff -u -F^f -r1.477 comment.module --- modules/comment/comment.module 19 Aug 2006 21:40:58 -0000 1.477 +++ modules/comment/comment.module 20 Aug 2006 20:17:17 -0000 @@ -137,7 +137,7 @@ function comment_menu($may_cache) { $access = user_access('post comments'); $items[] = array('path' => 'comment/edit', 'title' => t('edit comment'), 'callback' => 'comment_edit', - 'access' => $access, 'type' => MENU_CALLBACK); + 'access' => user_access('edit own comments'), 'type' => MENU_CALLBACK); } else { if (arg(0) == 'comment' && arg(1) == 'reply' && is_numeric(arg(2))) { @@ -161,7 +161,7 @@ function comment_menu($may_cache) { * Implementation of hook_perm(). */ function comment_perm() { - return array('access comments', 'post comments', 'administer comments', 'post comments without approval'); + return array('access comments', 'post comments', 'edit own comments', 'administer comments', 'post comments without approval'); } /**