[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 13:54:46 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 ShaneF):

 Replying to [comment:10 Denis-de-Bernardy]:
 > Replying to [comment:7 ShaneF]:
 > > Denis,
 > >
 > > vB does a very good job of user-permissions/user-groups. Maybe we
 should look into that way as well for WordPress.
 >
 > Can't find the sql dump of my old VB install, but I vaguely remember it
 was using role/caps related DB tables. If so, that's pretty much exactly
 what Matt didn't want...

 vB uses a bitfield permissions system.

 1 = read forum
 2 = post threads

 For me to have both I have a value of 3. Also assigned a permissions to a
 group could have the same set of permissions and then put users in it. As
 well as helping loading time with SQL queries to load all that information
 once at the start instead of each time that it's needed.

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


More information about the wp-trac mailing list