KorAP / Kustvakt

:speedboat: User and policy management component for KorAP, capable of rewriting queries for policy based document restrictions.
BSD 2-Clause "Simplified" License
4 stars 3 forks source link

annoying default option "availability eq CC-BY.*" #756

Closed notesjor closed 3 months ago

notesjor commented 4 months ago

If you set up your own Docker container with your own body material, the "availability eq CC-BY.*" filter is always set. Even if you explicitly delete it - after a query has been executed, the filter is active again. This means that it is essential to set the “availability” property for your own corpora, as otherwise you cannot use your own corpora.

margaretha commented 3 months ago

The behavior comes from CollectionRewrite. Kustvakt full version includes CollectionRewrite by default. It can be customized in the spring configuration.

If any rewrite and authentication is not necessary, the lite version is more suitable. Please consider using the lite version.