{#if ($roleCapabilities.code || $roleCapabilities.flows !== 'none' || $roleCapabilities.apps !== 'none') && activeDeployRulesets.length > 0}

The workspace {displayName ?? parentWorkspaceId} has a protection rule{activeDeployRulesets.length > 1 ? 's' : ''} {activeDeployRulesets.map((r) => r.name).join(', ')} that restrict{activeDeployRulesets.length > 1 ? '' : 's'} direct deployments. You need to merge changes through the synced git repo with Git Sync, or by asking a user with the rights to bypass this rule.

{#if canBypass} {/if}
{/if}