File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 22 trino.rego : |
33 package trino
44
5- import future.keywords.in
6-
75 default allow = false
86
9- allow {
7+ allow if {
108 is_alice
119 }
12- extended[i] {
10+
11+ batch contains i if {
1312 some i
1413 input.action.filterResources[i]
1514 is_alice
1615 }
1716
18- is_alice() {
17+ batch contains i if {
18+ some i
19+ input.action.operation == "FilterColumns"
20+ count(input.action.filterResources) == 1
21+ input.action.filterResources[0].table.columns[i]
22+ is_alice
23+ }
24+
25+ is_alice() if {
1926 input.context.identity.user == "alice"
2027 }
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ Fetch the snippet as before:
317317[source,bash]
318318include::example$ldap-auth/70-modify-trino-opa-bundle.sh[tag=get-yaml]
319319
320- Apply this patch :
320+ Update the ConfigMap to look like the below :
321321
322322[source,yaml]
323323----
You can’t perform that action at this time.
0 commit comments