File tree Expand file tree Collapse file tree
src/views/Settings/PolicyWorkbench Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -717,7 +717,7 @@ export function createPolicyWorkbenchState() {
717717 settingKey : key ,
718718 scope,
719719 targetId,
720- allowChildOverride : scope !== 'user' ,
720+ allowChildOverride : true ,
721721 value : cloneValue ( definition . createEmptyValue ( scope ) ) as PolicySettingValueMap [ PolicySettingKey ] ,
722722 }
723723 }
@@ -815,7 +815,7 @@ export function createPolicyWorkbenchState() {
815815 id : editorDraft . value . id ?? `${ activeSettingKey . value } -${ nextRuleNumber . value ++ } ` ,
816816 scope : editorDraft . value . scope ,
817817 targetId : editorDraft . value . scope === 'system' ? null : editorDraft . value . targetId ,
818- allowChildOverride : editorDraft . value . scope === 'user' ? false : editorDraft . value . allowChildOverride ,
818+ allowChildOverride : editorDraft . value . allowChildOverride ,
819819 value : cloneValue ( editorDraft . value . value ) ,
820820 }
821821
You can’t perform that action at this time.
0 commit comments