Files
releases/server
Patrick East 3ee6fdcf30 server: Specify a PartialNamespace for Rego objects
Previously we let it use the default namespace, which meant that
every cached evaluation would use the same query on the compiler..
which isn't correct. They need to be unique per path.

We'll now use a hash of the path (since it needs to be a valid var).

While doing this the logic for the Rego opts was refactored in
`makeRego` to only define the list a single time.. this should help
reduce the risk of any regressions in the future.

Fixes: #2247
Signed-off-by: Patrick East <east.patrick@gmail.com>
2020-04-06 05:54:03 -07:00
..
2016-08-08 09:20:24 -07:00