[wp-trac] Re: [WordPress Trac] #5540: User roles overhaul

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 28 05:42:52 GMT 2007


#5540: User roles overhaul
-------------------------+--------------------------------------------------
 Reporter:  tellyworth   |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.5      
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Comment (by darkdragon):

 So the problem would be that you would have a set of roles for each blog
 and those will be assigned to each user, which in turn would have a
 relationship to a single capability.

 So the roles will increase by the amount of blogs, while the capabilities
 should stay the same.

 I'm unsure and I forget if it is possible to have terms with the same name
 and slug, however, you could simply append the blog_id to the slug of the
 role. The group_id would be used for the roles belong to what blog. Group
 ID = Blog ID.

 Since the capabilities don't really matter based on the blog, or so it can
 also. You can assign the group ID also by Blog ID. The Worse case
 shouldn't happen by in the rate of cases.

 Oh yeah, by all means, looking at the post, taxonomy, and category APIs,
 it appears that it would make the role code very complex, but I think it
 would be well worth the effort.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5540#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list