consul/internal/auth/internal
Matt Keeler 5698353652
Resource Hook Pre-Decode Utilities (#18548)
Add some generic type hook wrappers to first decode the data

There seems to be a pattern for Validation, Mutation and Write Authorization hooks where they first need to decode the Any data before doing the domain specific work.

This PR introduces 3 new functions to generate wrappers around the other hooks to pre-decode the data into a DecodedResource and pass that in instead of the original pbresource.Resource.

This PR also updates the various catalog data types to use the new hook generators.
2023-10-26 16:39:06 -04:00
..
controllers Fix Traffic Permissions Default Deny (#19028) 2023-10-04 09:58:28 -04:00
mappers/trafficpermissionsmapper v2 explicit destination traffic permissions (#18823) 2023-09-25 16:50:07 +00:00
types Resource Hook Pre-Decode Utilities (#18548) 2023-10-26 16:39:06 -04:00