title: User Table design for user management with multiple roles/privileges
body: <p>Trying to setup a user login and management...</p>
  
  <p>I was wondering what table setup you would use for user management that can have complex user roles.</p>
  
  <p>I'd like to have several levels of user rights/roles, and within each level have more detailed controls if necessary.</p>
  
  <p>I picture the set of privileges as a table. Rows are the resources, and columns are properties and available actions. I'd like to devise a system where a user can have access to a group of resources with certain privileges, with the possibility of having several groups with different privileges.</p>
  
  <p>I'm looking at the way modx is doing the user tables, but that might be a bit more complicated.</p>