Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | forum_access_comment_access.1356390.5.TestOnly.patch | 3.84 KB | salvis |
#4 | forum_access_comment_access.1356390.5.TestAndFix.patch | 4.41 KB | salvis |
#3 | forum_access-comment-edit-02.patch | 580 bytes | smokris |
forum_access-comment-edit.patch | 541 bytes | smokris | |
Comments
Comment #2
salvisThe testbot says "fatal: unable to find filename in patch at line 1".
The testbot requires patches to be in -p1 format, like this:
Also, patches need to be tested against the tip of the branch.
Comment #3
smokrisRevised patch attached.
Comment #4
salvisIt'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...
Comment #5
salvisNice! Committed to the -dev version — thanks!
Comment #6
smokrisAwesome. Thanks, @salvis.