[wp-trac] [WordPress Trac] #61137: Allow view access of template rest endpoint to anyone with the edit_post capability

WordPress Trac noreply at wordpress.org
Fri May 3 06:46:51 UTC 2024


#61137: Allow view access of template rest endpoint to anyone with the edit_post
capability
-------------------------+-------------------------
 Reporter:  fabiankaegy  |      Owner:  fabiankaegy
     Type:  enhancement  |     Status:  assigned
 Priority:  normal       |  Milestone:  6.6
Component:  REST API     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-------------------------
 Sync ticket for https://github.com/WordPress/gutenberg/pull/60317

 In order to render the block template in the locked template preview
 inside the post editor we need to be able to fetch the contents of any
 block templates/template parts for any user role that can edit a post.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61137>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list