Skip to main content
3 of 4
added 66 characters in body
Pierre.Vriens
  • 36k
  • 40
  • 50
  • 182

Change term reference field according to role

I have the following challenge: I have 4 roles, let's call them Group1 ... Group4. I have different content types and I segregate access of those types using the Taxonomy Access Control module. So users from Group1 can only view and edit nodes that have term Group1.

Now, I have the challenge to change a term reference field of these content types automatically. So if a user from role Group1 creates a new node, that node will have a term reference field with term Group1.

I don't want users to edit on their own to avoid human errors.

Chrys
  • 141
  • 1
  • 8