Page body
What this page does
Use this page to update an existing rule. The edit route can load a single backend rule or merge one add-rule and one remove-rule into one operator form when FE receives both IDs.
What makes edit different from create
- The route can be opened with
addRuleIdandremoveRuleIdquery parameters. - FE rebuilds the grouped form state from one or two backend rules.
- Saving can update existing rules, create a missing counterpart rule, or delete the original single rule when it is being split into two rules.
Important caveats
- The visible name on the edit page removes the
(Add)and(Remove)suffixes for grouped editing. - When both add and remove sections are enabled, FE lowers the remove rule priority by one.
- The form still uses the same backend create, update, and delete routes as the rest of the module; there is no dedicated grouped-rule backend API.