Fix intention endpoint test

This commit is contained in:
Evan Culver 2021-07-15 15:28:01 -07:00
parent 64fbedba78
commit 718a6a9a12
No known key found for this signature in database
GPG Key ID: 3BBE9838C95315C7
1 changed files with 1 additions and 1 deletions

View File

@ -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