I have added a taxonomy entity reference on a node. I want users of certain roles to only select from the list and not allow them to create a new one.

A user role A to select from the list or add a new one.

I have checked the box in the reference field setting 'Create referenced entities if they don't already exist' and only administrator and user role A has permission to create/edit term. But still the form allows other users to add new term, how can I stop this?

enter image description here

1 Answer 1

  1. If you want specific roles to access denied on taxonomy term create/edit then you can set permission on taxonomy term.
  2. If you want specific roles to access denied on node taxonomy field then you can use this module :"https://www.drupal.org/project/field_permissions" and set permission.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.