- π©πͺGermany Anybody Porta Westfalica
Thank you very much @DieterHolvoet! RTBC from my side!
Also here it would be super helpful to have tests for the future to be sure!
See #3271272: Write further basic tests β -
Anybody β
committed 2f55daa2 on 2.x
Issue #3204475 by Anybody, DieterHolvoet, mauritsl, artis: Review access...
-
Anybody β
committed 2f55daa2 on 2.x
- Status changed to Fixed
about 2 years ago 9:18am 23 January 2023 - π©πͺGermany Anybody Porta Westfalica
We'll add the tests in the separate issue. I've merged this. Thanks!
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
almost 2 years ago 8:30pm 7 April 2023 - πΊπΈUnited States gintass
Autocomplete widget requires "Administer Content" permission. That is a problem, since I don't want to give this permission to content editors.
Tested with:
Existing Values Autocomplete Widget - 2.0.0-beta1
Drupal - 9.5.5
PHP - 8.1.17I uninstalled the "Field Permissions" module to make sure there is no conflict.
- πΊπΈUnited States gintass
It appears that "Administer Content" is not enough either. It does bring back the autocomplete indicator/icon, which made me think that it works, but when I started typing, none of the existing values showed up. The only way I could get it working, if I selected the
"Bypass content access control" permission. Obviously we don't want to give it to a content editor role. - π©πͺGermany Anybody Porta Westfalica
@gintass please open a new issue as follow-up, linking this one. With clear steps how to reproduce this on a fresh, small Drupal installation, e.g. simplytest.me
As of the code above, it only needs two things:
"access content" permission and a "view" permission on the referenced content. But don't let us pollute this closed issue. Thanks.