File tree Expand file tree Collapse file tree 9 files changed +0
-28
lines changed
data-lakehouse-iceberg-trino-spark Expand file tree Collapse file tree 9 files changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -227,8 +227,6 @@ The ACLs configuring this behavior (written with the {rego}[Rego language]) on t
227227----
228228package trino_policies
229229
230- import rego.v1
231-
232230policies := {
233231 "tables": [
234232 {
@@ -270,8 +268,6 @@ The Rego rule for this behavior looks like this (again a snippet from the {trino
270268----
271269package trino_policies
272270
273- import rego.v1
274-
275271policies := {
276272 "tables": [
277273 {
Original file line number Diff line number Diff line change @@ -129,8 +129,6 @@ data:
129129 trino.rego : |
130130 package trino
131131
132- import rego.v1
133-
134132 default allow = false
135133
136134 # Allow non-batched access
Original file line number Diff line number Diff line change @@ -102,8 +102,6 @@ data:
102102 trino.rego : |
103103 package trino
104104
105- import rego.v1
106-
107105 default allow = false
108106
109107 # Allow non-batched access
Original file line number Diff line number Diff line change 99 hdfs.rego : |
1010 package hdfs
1111
12- import rego.v1
13-
1412 default allow := false
1513 default matches_identity(identity) := false
1614
Original file line number Diff line number Diff line change 99 trino_policies.rego : |
1010 package trino_policies
1111
12- import rego.v1
13-
1412 policies := {
1513 "catalogs": [
1614 # Needed to bootstrap schemas and tables
Original file line number Diff line number Diff line change 1111 package trino
1212
1313 import data.util
14- import rego.v1
1514
1615 # This file contains functions to determine the actual permissions
1716 # defined in the Trino policies for the given user and requested
3635 #
3736 # Example:
3837 # package trino_policies
39- # import rego.v1
4038 # extra_groups := groups if {
4139 # request := {
4240 # "method": "POST",
@@ -579,7 +577,6 @@ data:
579577 package trino
580578
581579 import data.util
582- import rego.v1
583580
584581 # The final policies are a combination of policies offered by Stackable,
585582 # policies provided externally, and default policies.
@@ -596,7 +593,6 @@ data:
596593 #
597594 # Example:
598595 # package trino_policies
599- # import rego.v1
600596 # policies := {
601597 # "catalogs": [
602598 # {
@@ -757,8 +753,6 @@ data:
757753 requested_permissions.rego : |
758754 package trino
759755
760- import rego.v1
761-
762756 # This file contains the requested_permissions rule which returns a set
763757 # of required permissions for the given operation including the
764758 # requested resource. Operations with the same set of required
@@ -1439,8 +1433,6 @@ data:
14391433 # - data.trino_policies.policies: schema.policies
14401434 package trino
14411435
1442- import rego.v1
1443-
14441436 # METADATA
14451437 # description: |
14461438 # Entry point for OPA policies, configured in the Trino property
@@ -1780,8 +1772,6 @@ data:
17801772 # description: Utility package which extends the built-in functions
17811773 package util
17821774
1783- import rego.v1
1784-
17851775 # METADATA
17861776 # description: |
17871777 # Matches the entire string against a regular expression.
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ metadata:
88data :
99 trino.rego : |
1010 package trino
11- import rego.v1
1211
1312 default allow = false
1413
3130 druid.rego : |
3231 package druid
3332 import data.bundles.opagroups.admins
34- import rego.v1
3533
3634 default allow = false
3735
Original file line number Diff line number Diff line change @@ -115,8 +115,6 @@ data:
115115 trino.rego : |
116116 package trino
117117
118- import rego.v1
119-
120118 default allow = false
121119
122120 # Allow non-batched access
Original file line number Diff line number Diff line change 8686 trino.rego : |
8787 package trino
8888
89- import rego.v1
90-
9189 default allow = false
9290
9391 # Allow non-batched access
You can’t perform that action at this time.
0 commit comments