ocket8888 opened a new pull request #3761: Improvements to Server-to-Delivery Service assignments URL: https://github.com/apache/trafficcontrol/pull/3761 ## What does this PR (Pull Request) do? - [x] This PR fixes #3756 Reworked the POST method handler of the `/servers/{{ID}}/deliveryservices` endpoint to both a) respect CDN limitations in assignments b) respect tenancy permissions Also updated Traffic Portal so that servers which are unavailable for DS assignment cloning do not appear in the selection menu. Draft status pending testing. ## Which Traffic Control components are affected by this PR? - Traffic Ops - Traffic Portal ## What is the best way to verify this PR? Build and run Traffic Ops and Traffic Portal, attempt to assign a server to one or more Delivery Services in a different CDN, and/or to one or more Delivery Services to which access by your tenant is forbidden. Traffic Portal should not present you with the ability to do so, and Traffic Ops should reject your attempt should you bypass the UI. ## If this is a bug fix, what versions of Traffic Control are affected? - 3.0.1 - master (@ 5da4a5b43605d499c474a38dfdc33d20a88a3913) ## The following criteria are ALL met by this PR - [x] This PR includes tests OR I have explained why tests are unnecessary - [x] This PR includes documentation OR I have explained why documentation is unnecessary - [x] This PR includes an update to CHANGELOG.md OR such an update is not necessary - [x] This PR includes any and all required license headers - [x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration - [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY**
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
