Actions
User story #18508
closedMissing a PATCH API for allowed networks
Effort required:
Name check:
To do
Fix check:
Checked
Regression:
Description
On some complex (serious) infrastructures, there can tens of allowed networks. These are sensitive data, often modifed, and it can happen that there is concurrent modification on them. So a "replace" only semantic can't be enought:
(client 1 wants to add n3, client2 remove n2) * STATE on server: [n1, n2] client1: get all allowed networks => [n1, n2] client2: get all allowed networks => [n1, n2] client1 POST [n1, n2, n3] * STATE on server: [n1, n2, n3] client1 POST [n1] * STATE on server: [n1] <= NOT WHAT WE WANT.
So: add a patch command to handle just add/remove some networks.
Actions