From 718a6a9a122853b05794a594abed30729f0de5ba Mon Sep 17 00:00:00 2001 From: Evan Culver Date: Thu, 15 Jul 2021 15:28:01 -0700 Subject: [PATCH] Fix intention endpoint test --- agent/structs/intention.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/structs/intention.go b/agent/structs/intention.go index 2549f8d5ec..078bcbe508 100644 --- a/agent/structs/intention.go +++ b/agent/structs/intention.go @@ -325,7 +325,7 @@ func (ixn *Intention) CanRead(authz acl.Authorizer) bool { } func (ixn *Intention) CanWrite(authz acl.Authorizer) bool { - if authz == nil { + if authz == nil || authz == acl.ManageAll() { return true } var authzContext acl.AuthorizerContext