Skip to content

table: fix preserve flag in DeletePolicy - #3532

Open
mcdoker18 wants to merge 1 commit into
osrg:masterfrom
mcdoker18:fix-preserve
Open

table: fix preserve flag in DeletePolicy#3532
mcdoker18 wants to merge 1 commit into
osrg:masterfrom
mcdoker18:fix-preserve

Conversation

@mcdoker18

Copy link
Copy Markdown

The DeletePolicy function incorrectly iterated over the policy's own statements when deleting individual policies with preserve=false.

The fix ensures that when deleting a specific policy (all=false), we iterate over the statements from the policy argument.

The DeletePolicy function incorrectly iterated over the policy's own
statements when deleting individual policies with preserve=false.

The fix ensures that when deleting a specific policy (all=false),
we iterate over the statements from the policy argument.
@Lucky112

Lucky112 commented Aug 5, 2026

Copy link
Copy Markdown

Amazing! I was bothered with this issue for some time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants