Skip to content

Commit a0a4ab7

Browse files
committed
fix(policy): disable circle layer in signature_flow phase
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent beb8860 commit a0a4ab7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/Service/Policy/Runtime/DefaultPolicyResolver.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public function resolve(IPolicyDefinition $definition, PolicyContext $context):
3030

3131
$systemLayer = $this->source->loadSystemPolicy($policyKey);
3232
$groupLayers = $this->source->loadGroupPolicies($policyKey, $context);
33-
$circleLayers = $this->source->loadCirclePolicies($policyKey, $context);
3433

3534
$currentValue = $definition->defaultSystemValue();
3635
$currentSourceScope = 'system';
@@ -51,7 +50,7 @@ public function resolve(IPolicyDefinition $definition, PolicyContext $context):
5150
);
5251
}
5352

54-
foreach (array_merge($groupLayers, $circleLayers) as $layer) {
53+
foreach ($groupLayers as $layer) {
5554
[$currentValue, $currentSourceScope, $canOverrideBelow, $visible] = $this->applyLayer(
5655
$definition,
5756
$resolved,

0 commit comments

Comments
 (0)