jheitz200 commented on a change in pull request #4026: Feature/add
deliveryservice required capability
URL: https://github.com/apache/trafficcontrol/pull/4026#discussion_r339675402
##########
File path: traffic_ops/app/db/seeds.sql
##########
@@ -541,6 +541,10 @@ insert into api_capability (http_method, route,
capability) values ('GET', 'deli
insert into api_capability (http_method, route, capability) values ('POST',
'deliveryserviceserver', 'delivery-service-servers-write') ON CONFLICT
(http_method, route, capability) DO NOTHING;
insert into api_capability (http_method, route, capability) values ('POST',
'deliveryservices/*/servers', 'delivery-service-servers-write') ON CONFLICT
(http_method, route, capability) DO NOTHING;
insert into api_capability (http_method, route, capability) values ('DELETE',
'deliveryservice_server/*/*', 'delivery-service-servers-write') ON CONFLICT
(http_method, route, capability) DO NOTHING;
+-- delivery service server capabilities
+insert into api_capability (http_method, route, capability) values ('GET',
'deliveryservice_required_capabilities', 'delivery-services-read') ON CONFLICT
(http_method, route, capability) DO NOTHING;
Review comment:
Thanks it got left out on accident with the first commit
----------------------------------------------------------------
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