We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eb02e0 commit 7b8152fCopy full SHA for 7b8152f
packages/rule-engine/src/manager/version-manager-rules.ts
@@ -69,10 +69,5 @@ export const getVersionApprovalRules = (
69
export const getRules = (
70
policy: Policy | null,
71
): Array<FilterRule<Version> | PreValidationRule> => {
72
- return [
73
- ...denyWindows(policy),
74
- // ...versionUserApprovalRule(policy?.versionUserApprovals),
75
- // ...versionAnyApprovalRule(policy?.versionAnyApprovals),
76
- ...versionRoleApprovalRule(policy?.versionRoleApprovals),
77
- ];
+ return [...denyWindows(policy), ...getVersionApprovalRules(policy)];
78
};
0 commit comments