Skip to content

Commit 725321f

Browse files
committed
feat: allow signature flow child override settings
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 0bd101f commit 725321f

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/views/Settings/PolicyWorkbench/settings/signature-flow/realDefinition.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,7 @@ export const signatureFlowRealDefinition: RealPolicySettingDefinition = {
5050
return mode ?? 'parallel'
5151
},
5252
hasSelectableDraftValue: (value: EffectivePolicyValue) => resolveSignatureFlowMode(value) !== null,
53-
normalizeAllowChildOverride: (scope, allowChildOverride: boolean) => {
54-
if (scope === 'system' || scope === 'group') {
55-
return false
56-
}
57-
58-
return allowChildOverride
59-
},
53+
normalizeAllowChildOverride: (_scope, allowChildOverride: boolean) => allowChildOverride,
6054
getFallbackSystemDefault: (policyValue: EffectivePolicyValue | null | undefined, sourceScope?: string | null) => {
6155
if (sourceScope === 'system' && policyValue !== null && policyValue !== undefined) {
6256
return policyValue

0 commit comments

Comments
 (0)