[wp-trac] [WordPress Trac] #10201: Switch roles to use single role, and no user-specific caps

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 28 06:46:00 UTC 2009


#10201: Switch roles to use single role, and no user-specific caps
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:             
     Type:  task (blessed)     |      Status:  assigned   
 Priority:  normal             |   Milestone:  2.9        
Component:  Role/Capability    |     Version:  2.8        
 Severity:  normal             |    Keywords:  2nd-opinion
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 Replying to [comment:29 sambauers]:
 > I don't understand the "extra column per site" requirement. I was saying
 that to make things fast you would need an extra column in wp_usermeta
 that was a varchar so that the meta_value on "XX_capabilities" keys could
 be stored there instead (and indexed).

 If you've a WP install and a BB install, you've two separate roles/caps.
 So the correct implementation would be a roles table per site, as you
 highlight. Rather than two extra columns in the users table.

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


More information about the wp-trac mailing list