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

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 26 22:12:04 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 dd32):

 > the issue, however, is that we can't really add this in the users table
 either -- we'd need an extra column *per* site, unless the roles are
 shared across all sites. that would be a much more major change, but not
 necessarily a bad one.

 Why not just prefix the metafield like is currently done for each install?
 Remember that shared usertables do not have the DB prefix on them, but the
 capability keys are prefixed by each blogs prefix, ie wp_, wp_1_, wp_2_
 etc

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


More information about the wp-trac mailing list