[wp-trac] [WordPress Trac] #11894: multisite permission checks should use caps when available

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 14 04:02:19 UTC 2010


#11894: multisite permission checks should use caps when available
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:     
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  3.0
Component:  Multisite          |     Version:  3.0
 Severity:  critical           |    Keywords:     
-------------------------------+--------------------------------------------

Comment(by nacin):

 Replying to [comment:2 wpmuguru]:
 > In MU only site admins can install plugins and themes.
 >
 > The logic added keeps the existing WP logic when multisite is not
 enabled and enforces the existing MU permissions when multisite is
 enabled.
 Right but map_meta_cap() should be used for this, is what Denis is saying.
 I'm pretty sure ryan added multisite-specific mapping for these
 capabilities already.

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


More information about the wp-trac mailing list