[wp-trac] [WordPress Trac] #45423: Use custom capabilities for the block editor's reusable blocks.

WordPress Trac noreply at wordpress.org
Wed Jan 16 22:58:07 UTC 2019

#45423: Use custom capabilities for the block editor's reusable blocks.
 Reporter:  peterwilsoncc    |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Role/Capability  |     Version:  5.0
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
Changes (by peterwilsoncc):

 * milestone:  5.1 => Future Release


 There are a few things I see needed for this to go forward:

 * Hiding the appropriate UI element for users failing the `create_post` or
 `edit_post` meta caps
 * Removing the option to insert shared blocks for users blocked from
 reading them (in the dropdown, via a slash command and anywhere else I
 have forgotten)
 * Removing the menu should be handled by core already
 * Decisions about which core roles should be able to publish a shared post
 if that needs to be different to the rules for posts and pages
 * What happens for users who can create posts but not publish them when
 they attempt to create a post from within the authoring UI. IE, is the
 content duplicated, an unpublished post inserted into their current post
 or 🤷🏻‍♂️

 It's the eleventh hour for the 5.1 release. As there's a fair amount to
 consider, I'm moving this to future release.

Ticket URL: <https://core.trac.wordpress.org/ticket/45423#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list