Skip to content

fix(start-wrt): keep a rule's router-port override across an edit - #3889

Open
Dominion5254 wants to merge 1 commit into
masterfrom
wrt/edit-keeps-router-port-override
Open

fix(start-wrt): keep a rule's router-port override across an edit#3889
Dominion5254 wants to merge 1 commit into
masterfrom
wrt/edit-keeps-router-port-override

Conversation

@Dominion5254

Copy link
Copy Markdown
Collaborator

The confirmation for publishing a port the router answers on itself is persisted per rule, and the list round-trips it. The edit dialog built its result from the form fields alone, so every edit — a label change included — sent the rule with the flag cleared, the backend reported the collision again, and the user was asked again.

Carry the flag over, but only while the rule still publishes what was confirmed: the override is a blanket per-rule bypass, so repointing a confirmed rule at a different external range or changing its protocol must re-validate rather than inherit a confirmation the user never gave for those ports.

Claude-Session: https://claude.ai/code/session_01QzRghGUbYU542mkwFQUcv9

The confirmation for publishing a port already in use on the WAN is
persisted per rule, and the list round-trips it. The edit dialog built
its result from the form fields alone, so every edit — a label change
included — sent the rule with the flag cleared, the backend reported the
collision again, and the user was asked again.

Carry the flag over, but only while the rule still publishes what was
confirmed: the override is a blanket per-rule bypass, so repointing a
confirmed rule at a different external range or changing its protocol
must re-validate rather than inherit a confirmation the user never gave
for those ports.

Claude-Session: https://claude.ai/code/session_01QzRghGUbYU542mkwFQUcv9
@Dominion5254
Dominion5254 force-pushed the wrt/edit-keeps-router-port-override branch from 58d3b9f to 5872938 Compare September 3, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants