[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 Feb 19 01:27:21 UTC 2011


#10201: Switch roles to use single role, and no user-specific caps
-------------------------------+-----------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  enhancement        |      Status:  assigned
 Priority:  normal             |   Milestone:  Future Release
Component:  Role/Capability    |     Version:  2.8
 Severity:  normal             |  Resolution:
 Keywords:  early              |
-------------------------------+-----------------------------

Comment (by scribu):

 ryan_b: the reason we have roles and not individual capabilities is
 because, for a site with 1 million users, for example, you would end up
 with a table with over 10 million rows on average, versus 1 million role
 meta_keys.

 Not to mention that, if you wanted to add a capability to one class of
 users, you would have to add that many rows to the already huge table. The
 same for deleting a capability.

 Roles are here to stay.

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


More information about the wp-trac mailing list