-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TO API v5 routes should not use priv levels anymore #7819
TO API v5 routes should not use priv levels anymore #7819
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7819 +/- ##
============================================
+ Coverage 28.93% 31.89% +2.95%
Complexity 98 98
============================================
Files 602 719 +117
Lines 77379 82789 +5410
Branches 90 970 +880
============================================
+ Hits 22392 26408 +4016
- Misses 52890 54215 +1325
- Partials 2097 2166 +69
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 120 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
traffic_ops/traffic_ops_golang/deliveryservice/servers/servers.go
Outdated
Show resolved
Hide resolved
traffic_ops/traffic_ops_golang/deliveryservice/servers/servers.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I'll merge once tests pass.
* TO API v5 routes should not use priv levels anymore * add changelog * fix tests, cleanup * remove commented out code * code review * rename perm constants (cherry picked from commit 5081509)
This PR is not related to any issue. It makes sure that api v5 routes in traffic ops are no longer using
privLevel
comparisons.Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Make sure all unit/ e2e tests pass.
5.0 routes should still work as expected, with capabilities being honored, instead of the privilege levels.
If this is a bugfix, which Traffic Control versions contained the bug?
PR submission checklist