Source

{{#if (env 'CONSUL_NSPACES_ENABLED')}} {{/if}}

Destination

{{#if (env 'CONSUL_NSPACES_ENABLED')}} {{/if}}
Should this source connect to the destination?
{{#each (array (hash intent="allow" header="Allow" body="The source service will be allowed to connect to the destination." ) (hash intent="deny" header="Deny" body="The source service will not be allowed to connect to the destination." ) ) as |_action|}}
{{_action.header}}

{{_action.body}}

{{/each}}
{{#if (not item.Legacy)}}

Permissions

{{#if (gt item.Permissions.length 0) }}

Permissions are L7 attributes. If any of the following permissions match the request, the Intention will apply. Requests that fail to match any of the provided routes will do the opposite of the allow/deny action above.

documentation

{{else}}

Add permissions via CLI

Permissions intercept an Intention's traffic using L7 criteria, such as path prefixes and http headers. You can use the CLI to add permissions to this intention.

{{/if}}
{{/if}}