consul/internal
R.B. Boyer ef6f2494c7
resource: allow for the ACLs.Read hook to request the entire data payload to perform the authz check (#18925)
The ACLs.Read hook for a resource only allows for the identity of a 
resource to be passed in for use in authz consideration. For some 
resources we wish to allow for the current stored value to dictate how 
to enforce the ACLs (such as reading a list of applicable services from 
the payload and allowing service:read on any of them to control reading the enclosing resource).

This change update the interface to usually accept a *pbresource.ID, 
but if the hook decides it needs more data it returns a sentinel error 
and the resource service knows to defer the authz check until after
 fetching the data from storage.
2023-09-22 09:53:55 -05:00
..
auth Honor Default Traffic Permissions in V2 (#18886) 2023-09-19 10:42:32 -04:00
catalog mesh: make FailoverPolicy work in xdsv2 and ProxyStateTemplate (#18900) 2023-09-20 11:59:01 -05:00
controller mesh: create new routes-controller to reconcile xRoute types into a ComputedRoutes resource (#18460) 2023-09-12 12:08:51 -05:00
go-sso [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
mesh resource: allow for the ACLs.Read hook to request the entire data payload to perform the authz check (#18925) 2023-09-22 09:53:55 -05:00
protohcl add fuzz tests to resourcehcl package and fix some panics (#18798) 2023-09-14 10:59:33 -04:00
radix [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
resource resource: allow for the ACLs.Read hook to request the entire data payload to perform the authz check (#18925) 2023-09-22 09:53:55 -05:00
resourcehcl add fuzz tests to resourcehcl package and fix some panics (#18798) 2023-09-14 10:59:33 -04:00
storage resource: Require scope for resource registration (#18635) 2023-09-01 09:44:53 -05:00
tenancy tenancy: split up tenancy `types.go` into CE version (#18966) 2023-09-22 07:33:15 -05:00
testing/golden NET-5132 - Configure multiport routing for connect proxies in TProxy mode (#18606) 2023-09-12 01:17:56 +00:00
tools Add protoc generator to emit resource type variables (#18957) 2023-09-21 17:18:47 -04:00