open-consul/acl
Daniel Nephin f6d5a85561 acl: move check for Intention.DestinationName into Authorizer
Follow up to https://github.com/hashicorp/consul/pull/10737#discussion_r680134445

Move the check for the Intention.DestinationName into the Authorizer to remove the
need to check what kind of Authorizer is being used.

It sounds like this check is only for legacy ACLs, so is probably just a safeguard
.
2021-08-04 18:06:44 -04:00
..
acl.go
acl_oss.go
acl_test.go
authorizer.go
authorizer_oss.go
authorizer_test.go
chained_authorizer.go
chained_authorizer_test.go
errors.go
policy.go
policy_authorizer.go
policy_authorizer_oss.go
policy_authorizer_test.go
policy_merger.go
policy_merger_oss.go
policy_oss.go
policy_test.go
static_authorizer.go
static_authorizer_test.go