nautobot-app-firewall-models icon indicating copy to clipboard operation
nautobot-app-firewall-models copied to clipboard

Add M2M pre_change signal to `Policy.policy_rules` & signal for `PolicyRule.index` to enforce uniqueness on index of rules in a single policy

Open whitej6 opened this issue 1 year ago • 0 comments

Environment

  • Nautobot version: 2.0.0
  • nautobot-firewall-models version: Latest

Proposed Functionality

Add signals to prevent duplicate indexes of PolicyRules when assigned to a Policy

Use Case

Create two rules with the same index and apply to a Policy, this is not supported by most (assuming all really) FW vendors.

whitej6 avatar Jan 22 '24 20:01 whitej6