Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Policy rules with same index value can be assigned to same policy #250

Open
collin-wicker opened this issue Jun 3, 2024 · 0 comments
Open

Comments

@collin-wicker
Copy link

Environment

  • Python version: 3.9.18
  • Nautobot version: 2.2.0b1
  • nautobot-firewall-models version: 2.0.3

Expected Behavior

Expected a warning message that explains that a policy is unable to contain two policy rules with the exact same index value.

Observed Behavior

The policy rules with the same index values were permitted to be added to the same policy.

Steps to Reproduce

  1. Create a policy
  2. Create a policy rule with index value of 10 and assign it to the policy that was just created
  3. Create a second policy rule with an index value of 10 and assign it to the policy that was just created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants