consul/acl
Daniel Nephin 5b2e5882b4 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 Small typo in docstring (#8280) 2020-07-09 17:38:50 -06:00
acl_oss.go
acl_test.go agent: protect the ui metrics proxy endpoint behind ACLs (#9099) 2020-11-04 12:50:03 -06:00
authorizer.go agent: protect the ui metrics proxy endpoint behind ACLs (#9099) 2020-11-04 12:50:03 -06:00
authorizer_oss.go
authorizer_test.go acl: remove t.Parallel 2020-11-17 12:37:02 -05:00
chained_authorizer.go agent: protect the ui metrics proxy endpoint behind ACLs (#9099) 2020-11-04 12:50:03 -06:00
chained_authorizer_test.go acl: remove t.Parallel 2020-11-17 12:37:02 -05:00
errors.go Add helper for generating better permission denied errors 2020-06-16 15:06:18 -04:00
policy.go
policy_authorizer.go acl: move check for Intention.DestinationName into Authorizer 2021-08-04 18:06:44 -04:00
policy_authorizer_oss.go
policy_authorizer_test.go acl: remove t.Parallel 2020-11-17 12:37:02 -05:00
policy_merger.go
policy_merger_oss.go
policy_oss.go
policy_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
static_authorizer.go agent: protect the ui metrics proxy endpoint behind ACLs (#9099) 2020-11-04 12:50:03 -06:00
static_authorizer_test.go acl: remove t.Parallel 2020-11-17 12:37:02 -05:00