[wp-trac] [WordPress Trac] #39156: Introduce singular capabilities for managing individual sites on a network

WordPress Trac noreply at wordpress.org
Wed Dec 7 18:50:18 UTC 2016


#39156: Introduce singular capabilities for managing individual sites on a network
--------------------------------+-------------------------------------
 Reporter:  johnbillion         |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Future Release
Component:  Networks and Sites  |    Version:  3.0
 Severity:  normal              |   Keywords:  needs-patch 2nd-opinion
  Focuses:  multisite           |
--------------------------------+-------------------------------------
 As we did in #35614 for taxonomy terms, singular capabilities should be
 introduced for editing and deleting individual sites on a network.

 This would allow fine-grained cap checks such as `current_user_can(
 'edit_site', $site_id )`.

 Bear in mind there's a potential clash here with the existing
 `delete_site` capability which is intended as a cap check for site admins
 to delete their own site. Needs some thought.

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


More information about the wp-trac mailing list