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

Larger context for a group of users #745

Open margaretha opened 8 months ago

margaretha commented 8 months ago

There is a requirement to be able search with a larger context (surface text) exceeding usual restriction (token context limit), for a particular group of users.

margaretha commented 5 months ago

We decided to break this case into 3 setup possibilities:

  1. Krill configuration Default setup in a config file.
  2. Instance wide Kustvakt may change the default setup, and add rewrite when a requested context is larger than allowed.
  3. User wide Kustvakt manage which users may have larger context through query rewrites.
margaretha commented 4 months ago

The 1st option is done in Krilll (see https://github.com/KorAP/Krill/issues/128)

There was a misunderstanding regarding the 2nd option. Kustvakt should not change the default setup as it serves security measures. Kustvakt may change context size using rewrite.