Feature: Refuse approval rules that overlap at equal precedence
Description
Saving an active approval rule is refused with approval. when another active rule of the company
and subject type with as many conditions and the same priority could match one subject: every condition kind both use
shares a value, their quantity bounds intersect, and a kind only one uses restricts nothing. The violation names the
other rule and an example, such as department …, quantity 10.. Precedence therefore never depends on the order
in which rules were saved (Horilla's H-LEAVE-APPROVAL-CONDITION-ORDER). Before, only rules with exactly the same
conditions were refused.
Impact
Rules saved before are not changed; saving one of two overlapping rules again asks to resolve the overlap.