You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
unifi_apply_change_set now reports failed, not partial, when the
controller refuses the first change with a 4xx: nothing was written and
nothing needed rolling back. A first change that fails any other way (a 5xx,
a timeout, a create answered without an id) is still partial, since it may
have landed; check the controller. The unifi_change_set_applied audit
event's outcome carries the same value. The stored change set is Failed
in both cases, as before.
Fixed
Staging a firewall_policy whose action is BLOCK or REJECT now requires create_allow_respond: false. The controller refuses such a policy
otherwise, on create and on update, and defaults the field to true when it
is left out (UniFi Network 11.0.97). Before, the refusal came only at apply.
A predefined policy is not checked: the controller's own BLOCK policies
carry create_allow_respond: true.