getgrav / grav-plugin-simplesearch

Grav SimpleSearch Plugin
https://getgrav.org
MIT License
44 stars 55 forks source link

SimpleSearch does not consider ACL of pages #103

Closed NilsEngelbach closed 7 years ago

NilsEngelbach commented 7 years ago

SimpleSearch does list search result for pages that are protected by ACL like

access:
    site.login: true

for all users, even if they do not have the permission to view the page.

I already created a PR #102 but i think implementation can be improved.

flaviocopes commented 7 years ago

I merged your PR, thanks