{{#if (gt @lines.length 0)}} {{#each @lines as |line|}} {{#if (eq line.permission 'deny')}} {{else}} {{/if}} {{/each}} {{/if}} {{#let (not (can 'update intention for service' item=@service.Service)) as |disabled|}} {{#each @items as |item|}} {{#if (and (not-eq item.Datacenter '') (or (not item.Intention.Allowed) item.Intention.HasPermissions))}} {{else if (and (not-eq item.Datacenter '') item.Intention.Allowed (not item.TransparentProxy) (not item.ConnectNative) (eq item.Source 'specific-intention'))}} {{/if}} {{/each}} {{/let}}