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

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 23 23:57:47 UTC 2010


#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:  Future Release
Component:  Role/Capability    |     Version:  2.8           
 Severity:  normal             |    Keywords:  2nd-opinion   
-------------------------------+--------------------------------------------

Comment(by dd32):

 > So, I would suggest to allow multiple roles per user while removing caps
 at user level.

 Would it be possible to perhaps have it 1-usermeta-row-per-role and save
 on the serialisation? That'd allow us quicker queries, as well as multiple
 roles still, and only add a small ammount of overhead (load an array of
 rows, rather than a single row).

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


More information about the wp-trac mailing list