How do we assign a user to a category?

Topics: Business Logic Layer
Mar 14, 2011 at 12:40 AM

Lets say we have some users assigned to a role called RoleA and some to RoleB. Blogs posted by users(RoleA) will be moderated by RoleB. Both of these roles needs to be assigned to a category. There might be several RoleB's assigned to various different categories. RoleB of one category should not be able to view RoleB of another category. 

But I am not sure how should I assign a user(eg.RoleB) to certain category even though he hasn't posted any blogs. The idea here is when RoleB logs in, he will only see the lists of his assigned categories and the blogs associated with it.

Please help me on this.