[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 Sep 5 18:22:33 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 hakre):

 after thinking about the whole new roles thingy I the last days, I must
 say that for the model it's absolutely unimportant wether or not you can
 assign multiple roles to a user or not. the users capabilities are
 nevertheless multiple ones so therefore why not to have multiple roles
 which cover the single role as well.

 this can help plugins (bbress) that add roles on their own. the roles
 system should (must) be re-useable for plugins as well, even for larger
 ones, otherwise this all does not scale well.

 if you've problems to handle multiple roles for the storage layer of the
 new model, then you might want to re-think how you store stuff. this
 should not be a show-stopper at all.

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


More information about the wp-trac mailing list