mirror of https://github.com/hashicorp/consul
17 lines
710 B
Handlebars
17 lines
710 B
Handlebars
|
{{#each @items as |item|}}
|
||
|
{{#let (find-by 'id' (concat item.Namespace item.Name) @positions) as |style|}}
|
||
|
{{#if (and (not item.Intention.Allowed) (not item.Intention.HasPermissions))}}
|
||
|
<span class="deny" style={{{ concat 'top:' style.y 'px;left:' style.x 'px;'}}}>
|
||
|
<Tooltip>
|
||
|
An intention is set to 'deny' that prohibits these services from connecting.
|
||
|
</Tooltip>
|
||
|
</span>
|
||
|
{{else if item.Intention.HasPermissions}}
|
||
|
<span class="L7" style={{{ concat 'top:' style.y 'px;left:' style.x 'px;'}}}>
|
||
|
<Tooltip>
|
||
|
The intention between these services has Layer 7 permissions, so certain requests may or may not be permitted.
|
||
|
</Tooltip>
|
||
|
</span>
|
||
|
{{/if}}
|
||
|
{{/let}}
|
||
|
{{/each}}
|