Configurations:
Enable comment time limit
Configure authenticated user to be able to comment, but not to edit.
Access the edit page

Expected result: 403 page with no message

Actual result: 403 page with the timer display

Solution: Check for "edit own comments" permission in the edit_limit_comment_access() function

CommentFileSizeAuthor
#2 remove_counter-2751167-2.patch1.66 KBluizsgpetri

Comments

atoledo@ciandt.com created an issue. See original summary.

luizsgpetri’s picture

StatusFileSize
new1.66 KB

Following the fix suggestion worked. See the patch

luizsgpetri’s picture

luizsgpetri’s picture

Status: Active » Needs review
atoledo@ciandt.com’s picture

Status: Needs review » Reviewed & tested by the community

The fix provided solved the issue.

Without permission nothing is displayed.
With the permission set, both the form and message are displayed.

moving to RBTC

  • luizsgpetri authored afc3754 on 7.x-1.x
    Issue #2751167 by luizsgpetri, atoledo@ciandt.com: User sees the comment...
felribeiro’s picture

Status: Reviewed & tested by the community » Fixed
felribeiro’s picture

Status: Fixed » Closed (fixed)

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

luizsgpetri’s picture