You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,19 @@ All notable changes to this project will be documented in this file.
9
9
- Support objectOverrides using `.spec.objectOverrides`.
10
10
See [objectOverrides concepts page](https://docs.stackable.tech/home/nightly/concepts/overrides/#object-overrides) for details ([#831]).
11
11
- Enable the [restart-controller](https://docs.stackable.tech/home/nightly/commons-operator/restarter/), so that the Pods are automatically restarted on config changes ([#833]).
12
+
- Add `enabledColumnMasking` field to `opa` configuration in `authorization` ([#827]).
13
+
- Support batched column masks in Rego rules ([#827]).
12
14
13
15
### Changed
14
16
15
17
- Pin k8s-openapi to `0.26.0` ([#831]).
18
+
- BREAKING: The field `opa` in `authorization` is now a mandatory enum variant instead of being optional ([#827]).
19
+
- BREAKING: The operator no longer sets `opa.policy.column-masking-uri` in `access-control.properties` but
20
+
`opa.policy.batch-column-masking-uri` instead, allowing Trino to fetch multiple column masks in a single request ([#827]).
// Sticking to https://github.com/trinodb/trino/blob/455/plugin/trino-opa/src/test/java/io/trino/plugin/opa/TestOpaAccessControlDataFilteringSystem.java#L47
73
-
Some("columnMask"),
74
-
OpaApiVersion::V1,
69
+
70
+
let batched_column_masking_connection_string = if opa_config.enable_column_masking{
71
+
Some(
72
+
opa_config
73
+
.opa
74
+
.full_document_url_from_config_map(
75
+
client,
76
+
trino,
77
+
// Sticking to https://github.com/trinodb/trino/blob/455/plugin/trino-opa/src/test/java/io/trino/plugin/opa/TestOpaAccessControlDataFilteringSystem.java#L48
hello-from-role-group: "true" # only defined here at group level
2158
2158
foo.bar: "true" # overrides role value
2159
2159
opa.policy.batched-uri: "http://simple-opa.default.svc.cluster.local:8081/v1/data/my-product/batch-new" # override value from config
2160
+
opa.policy.batch-column-masking-uri: "http://simple-opa.default.svc.cluster.local:8081/v1/data/my-product/batchColumnMasks-new" # override value from config
0 commit comments