[wp-meta] [Making WordPress.org] #8028: Unable to preview comment due to permission issue
Making WordPress.org
noreply at wordpress.org
Wed Oct 29 21:31:18 UTC 2025
#8028: Unable to preview comment due to permission issue
--------------------------------------+---------------------
Reporter: mindctrl | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Make (Get Involved) / P2 | Resolution:
Keywords: |
--------------------------------------+---------------------
Comment (by sajib1223):
Hi there đź‘‹
I’m still seeing this issue on https://make.wordpress.org/training when
trying to preview a comment.
When I click “Preview,” I get the following error:
{"success":false,"data":{"error":"cannot_edit_posts","errorText":"Sorry,
you are not allowed to edit posts on this site."}}
To help illustrate, here’s a short video showing the issue in real time:
🎥
https://www.awesomescreenshot.com/video/45815931?key=fbc2112572c1c367f0a16ab0d7c67c8b
**Details:**
- Logged in: [Yes]
- Browser: [e.g., Firefox 144.0.2 (64-bit)]
- Operating System: [e.g., Windows 11]
- Example article: [https://make.wordpress.org/training/2025/10/23/block-
editor-basics-course-cohort-in-bengali/]
It seems the comment preview action is incorrectly checking for the
`edit_posts` capability, which regular users don't have, causing the error
instead of showing the preview.
Hope this helps confirm the problem and move it forward!
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/8028#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list