[wp-trac] [WordPress Trac] #19791: can't correctly grant certain capabilities to roles on multisite

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 19 04:40:41 UTC 2012


#19791: can't correctly grant certain capabilities to roles on multisite
-----------------------------+----------------------
 Reporter:  jtclarke         |       Owner:
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Role/Capability  |     Version:  3.0
 Severity:  normal           |  Resolution:  wontfix
 Keywords:  has-patch        |
-----------------------------+----------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Future Release =>


Comment:

 unfiltered_html is granted to editors and administrators. We do not modify
 our role definitions in multisite. Rather, we forcibly filter it here --
 if you are not a super admin, you don't get unfiltered HTML, period.
 However, you *can* grant unfiltered_html, but it requires filtering on
 map_meta_cap for unfiltered_html and removing do_not_allow from the array
 (and adding back unfiltered_html). This is pretty simple.

 In my comment above moving this to 3.4, I was referring to a bug related
 to the same area of code, but unrelated. I will open a separate ticket.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19791#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list