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

WordPress Trac noreply at wordpress.org
Thu Dec 29 15:53:17 UTC 2016


#39156: Introduce singular capabilities for managing individual sites on a network
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Networks and Sites                   |  Release
 Severity:  normal                               |     Version:  3.0
 Keywords:  2nd-opinion has-patch needs-refresh  |  Resolution:
                                                 |     Focuses:  multisite
-------------------------------------------------+-------------------------
Changes (by flixos90):

 * keywords:  2nd-opinion has-patch => 2nd-opinion has-patch needs-refresh


Comment:

 While this ticket was opened after #36940, it looks at site capabilities
 in a more global scope. Therefore I think we should close the other ticket
 and integrate its request and discussion here. I fully agree with the
 changes proposed in that ticket, it makes sense to deal with the
 capability changes in one ticket and one discussion IMO.

 To summarize the other ticket: In addition to the capabilities introduced
 in [attachment:39156.diff], we also need individual capabilities for the
 individual tabs `manage_site_info`, `manage_site_settings`,
 `manage_site_themes` and `manage_site_users`. To be backward-compatible,
 we need to map all of these to the new `manage_site` / `edit_site`
 capability by default. Regarding the name of that capability: in the patch
 I used `edit_site`, but I now lean more towards using `manage_site` in
 agreement with the other ticket. This is what other names for network
 capabilities follow, so I think we should rather align naming with these
 instead of other non-network object capabilities (like `edit_post`).

 For more background, please read the discussion in #36940.

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


More information about the wp-trac mailing list