diff --git a/agent/consul/config_endpoint.go b/agent/consul/config_endpoint.go index e8faca01e..010020791 100644 --- a/agent/consul/config_endpoint.go +++ b/agent/consul/config_endpoint.go @@ -88,6 +88,8 @@ func (c *ConfigEntry) Get(args *structs.ConfigEntryQuery, reply *structs.ConfigE if err != nil { return err } + lookupEntry.GetEnterpriseMeta().Merge(&args.EnterpriseMeta) + if authz != nil && !lookupEntry.CanRead(authz) { return acl.ErrPermissionDenied }