[wp-trac] [WordPress Trac] #46957: Site Health: Make site health page access be filterable

WordPress Trac noreply at wordpress.org
Mon May 27 22:48:30 UTC 2019


#46957: Site Health: Make site health page access be filterable
-------------------------------------------------+-----------------------
 Reporter:  Clorith                              |       Owner:  Clorith
     Type:  task (blessed)                       |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.2.2
Component:  Administration                       |     Version:  5.2
 Severity:  normal                               |  Resolution:
 Keywords:  site-health has-patch needs-refresh  |     Focuses:
-------------------------------------------------+-----------------------
Changes (by peterwilsoncc):

 * keywords:  site-health has-patch => site-health has-patch needs-refresh
 * owner:  (none) => Clorith
 * status:  new => assigned
 * type:  enhancement => task (blessed)


Comment:

 Replying to [comment:22 spacedmonkey]:
 > I still stand by my original patch with the capability of
 view_site_heath. If others want more granular capabilities that is another
 ticket. @peterwilsoncc
 >
 > I want to get this committed ASAP to hit 5.2.2, we already missed 5.2.1

 I'm not suggesting granular meta capabilities be added on this ticket.

 I am insisting that the (faux) primitive capability follow the WP
 convention of being plural (similar to `activate_plugins`, `edit_posts`)
 so the future ticket adding meta capabilities can follow the WP convention
 of being singular (similar to `activate_plugin`, `edit_post`).

 Not following this convention will add complexity to maintaining the Roles
 and Capabilities component and it's already complex enough.

 [attachment:"46957.3.diff"] is the closest, once a decision is made on the
 faux primative's name and the real primitive to map it to; I'll commit the
 refresh in a second. I've marked this blessed to reflect this.

 @Clorith I've set you as the owner pending the final couple of decisions:

 * faux capabilities name
 * existing capability to map to

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


More information about the wp-trac mailing list