2

I have an entity reference field (users) on a node in D8, and the autocomplete suggestions won't show unless the User > Administer Users permission is granted to the role.

I'm trying to let event creators select who is presenting a certain topic, but I don't want them to be able to edit users' settings. Any ideas?

  • Aye - the alpha field permissions module seems to have been interfering somehow, thanks! – W0LF Jun 28 '16 at 0:46
  • I moved it as answer if you'd like to let other know about the issue. – Shawn Conn Jun 28 '16 at 0:59
3

The endpoint that provides AJAX entity reference completion (system.entity_autocomplete in system.routing.yml) is configured with with requirements._access: 'TRUE' property. This should make the /entity_reference_autocomplete/%/%/% path accessible to any user.

As such, check for any module that might be modifying its permissions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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