[wp-trac] [WordPress Trac] #47024: (Comments REST API) Contributor can't update/delete own comment

WordPress Trac noreply at wordpress.org
Thu Apr 25 08:27:53 UTC 2019


#47024: (Comments REST API) Contributor can't update/delete own comment
----------------------------------------+-----------------------
 Reporter:  meloniq                     |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  5.3
Component:  REST API                    |     Version:  5.1.1
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  rest-api
----------------------------------------+-----------------------

Comment (by meloniq):

 Looking a bit more farther, the `edit_comment` capability fallbacks to
 `edit_post` cap, so users with lower roles are not allowed to
 update/delete own comments at all... but that's an topic for another
 ticket with expanding permissions to comment authors in the `edit_comment`
 cap... Actually that's already reported in #41037

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47024#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list