From faa6fd0919a691dffeed79d06e9aec0ff79d6f48 Mon Sep 17 00:00:00 2001 From: "R.B. Boyer" <4903+rboyer@users.noreply.github.com> Date: Thu, 16 Sep 2021 15:53:10 -0500 Subject: [PATCH] acl: ensure the global management policy grants all necessary partition privileges (#11072) --- agent/consul/acl_oss_test.go | 1 + agent/consul/acl_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/agent/consul/acl_oss_test.go b/agent/consul/acl_oss_test.go index cf2ae28389..773e2a04d9 100644 --- a/agent/consul/acl_oss_test.go +++ b/agent/consul/acl_oss_test.go @@ -35,3 +35,4 @@ func (d *EnterpriseACLResolverTestDelegate) UseTestLocalData(data []interface{}) } } func (d *EnterpriseACLResolverTestDelegate) UseDefaultData() {} +func (d *EnterpriseACLResolverTestDelegate) Reset() {} diff --git a/agent/consul/acl_test.go b/agent/consul/acl_test.go index f68c3c0968..74de53f2dc 100644 --- a/agent/consul/acl_test.go +++ b/agent/consul/acl_test.go @@ -511,6 +511,7 @@ func (d *ACLResolverTestDelegate) Reset() { d.tokenCached = false d.policyCached = false d.roleCached = false + d.EnterpriseACLResolverTestDelegate.Reset() } var errRPC = fmt.Errorf("Induced RPC Error")