diff --git a/bearer/bearer.go b/bearer/bearer.go index 77d85da4..c0a7d3f5 100644 --- a/bearer/bearer.go +++ b/bearer/bearer.go @@ -90,7 +90,7 @@ func (b *Token) ReadFromV2(m acl.BearerToken) error { } func (b Token) fillBody() *acl.BearerTokenBody { - if !b.eaclTableSet && !b.targetUserSet && !b.lifetimeSet { + if !b.eaclTableSet && !b.targetUserSet && !b.lifetimeSet && !b.impersonate { return nil }