This appears to be a recurrence of issue #597616: Edit link not displayed on own comments.

That issue was fixed with this commit: http://drupalcode.org/project/forum_access.git/commitdiff/227204a

...but later on refactoring dropped that fix.

I've attached a patch, which applies to 6.x-1.7.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, forum_access-comment-edit.patch, failed testing.

salvis’s picture

Version: 6.x-1.7 » 6.x-1.x-dev

The testbot says "fatal: unable to find filename in patch at line 1".

--- forum_access.module.orig	2011-11-29 17:48:55.000000000 -0500
+++ forum_access.module	2011-11-29 18:03:33.000000000 -0500

The testbot requires patches to be in -p1 format, like this:

--- a/forum_access.module	2011-11-29 17:48:55.000000000 -0500
+++ b/forum_access.module	2011-11-29 18:03:33.000000000 -0500

Also, patches need to be tested against the tip of the branch.

smokris’s picture

Status: Needs work » Needs review
FileSize
580 bytes

Revised patch attached.

salvis’s picture

It's nice that it passed, but actually, it should not have passed...

The fact that it passed means that either it didn't make any difference, or that our tests fail to test this aspect. I've added the missing tests. The first patch (without your #3) must fail, and the second (with your #3 should then pass...

salvis’s picture

Status: Needs review » Fixed

Nice! Committed to the -dev version — thanks!

smokris’s picture

Awesome. Thanks, @salvis.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.