PUT /api/3.0/deliveryservices/{id} with changed cdn returns 403 forbidden #5341
Labels
bug
something isn't working as intended
Traffic Ops
related to Traffic Ops
Traffic Portal v1
related to Traffic Portal version 1
I'm submitting a ...
Traffic Control components affected ...
Current behavior:
Changing the CDN for a delivery service returns a 403 with
403s are for operations that fail role or tenancy check.
New behavior:
This needs to be a 400 Bad Request instead with a message like:
Minimal reproduction of the problem with instructions:
Navigate to a DS in TP and change the CDN value. Save.
Anything else:
If the intent is to make CDN immutable on a DS, the cdn field of an existing DS should be disabled as well to prevent the user from changing it.
The text was updated successfully, but these errors were encountered: