Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module currently uses the permission "access content" for the autocomplete callback URL. This is not correct, it should be using the permission "search content". This is especially obvious when using the Apache Solr Multisite Search module on a site with no content.
The attached patch (against 6.x-1.2) fixes this issue.
Comment | File | Size | Author |
---|---|---|---|
#1 | correct_permission-1098386-1.patch | 869 bytes | sdrycroft |
apachesolr_autocomplete.module.patch | 723 bytes | sdrycroft |
Comments
Comment #1
sdrycroft CreditAttribution: sdrycroft commentedPatched the drupal.org way.
Comment #2
janusman CreditAttribution: janusman commentedGood catch! Fixed on 6.x and 7.x branches.