I have Profile2 and Profile2 Registration Path modules enabled, I set up two different profiles, and for one of them I created a field which is a taxonomy term with the Autocomplete term widget (tagging).
When adding a user within the administration interface, I have the autocomplete widget working, but for anonymous users trying to create a profile the widget is not even attached to the field... I know it is not attached because a field with the widget has a "autocomplete" class and an icon for ajax status in background, but the field on the registration form has no class..
How to add this widget ? Is it a permission issue ? or adding the class to the field through hook_form_FORM_ID_alter()
could be enough ? (I don't have the field in the $form
array though...
View published content
solves my problem as I do not have any reason to not let them see the website content.. I guess for websites where content is for registered users only, this permission would not be granted and the widget would not be used on the taxonomy term field.. Maybe theContent Access
module could help those use-cases