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

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 18 14:22:31 GMT 2009


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

Comment(by Denis-de-Bernardy):

 sounds tricky. to do that properly, we'd likely need an extra db field
 that contains a big int. the users table is to be ruled out for that field
 since caps are on a per site basis.

 also, it's not as pluggable as using varchars for caps. we'd end up
 limited by the size of the db field, not to mention the loads of potential
 conflicts between plugins that try to introduce caps.

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


More information about the wp-trac mailing list