I've been trying to figure out how to do groupings of users with an overall administrator. I thought about organic groups but needed to use taxonomy access for other parts of my site so that wasn't really a solution. Here's what I've come up with.

Let's say you have a company which has users in different, distinct departments (sales, accounts, etc.)

  1. Create roles for the departments
  2. Create an admin role for each department
  3. Create a taxonomy called 'Departments' and set it as required
  4. Create a vocab item for each department
  5. Allow each role to be able to create and edit their own content
  6. With taxonomy access, give each department role view access, list and create to the corresponding vocab
  7. With taxonomy access, give each department admin role full access to the corresponding vocab

Because you have limited the list to only the relevant vocab, any new content will be automatically tagged with the correct department based on the user's role. Each user will only have edit access to their own content and each admin will have edit access to everyone's nodes in the department.

Hope this tip helps someone in the same boat as I was.

Comments

edrupalec’s picture