[wp-trac] [WordPress Trac] #45098: Introduce WP_REST_Block_Renderer_Controller and WP_REST_Blocks_Controller classes
WordPress Trac
noreply at wordpress.org
Tue Oct 23 07:37:11 UTC 2018
#45098: Introduce WP_REST_Block_Renderer_Controller and WP_REST_Blocks_Controller
classes
------------------------------------------------+-----------------------
Reporter: danielbachhuber | Owner: desrosj
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 5.0
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests fixed-5.0 | Focuses: rest-api
------------------------------------------------+-----------------------
Comment (by peterwilsoncc):
In [43804] the following meta caps can be removed as they are mapped but
not used due to the capabilities array when registering the post:
* `edit_published_blocks`
* `delete_published_blocks`
* `edit_others_blocks`
* `delete_others_blocks`
@pento As mentioned in our conversation in Slack, I am going to keep
digging into this and think about custom roles that allow editing of pages
but not posts. At the moment, the page editor can't edit shared blocks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45098#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list