You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/04/18 20:44:52 UTC

[GitHub] [trafficcontrol] mitchell852 opened a new issue #3506: Role changed from steering to operation for the endpoints used to manage steering targets

mitchell852 opened a new issue #3506: Role changed from steering to operation for the endpoints used to manage steering targets
URL: https://github.com/apache/trafficcontrol/issues/3506
 
 
   https://github.comcast.com/cdn/trafficcontrol/blob/deploy-20190102/traffic_ops/traffic_ops_golang/routes.go#L406-L408
   
   ```
   {1.1, http.MethodPost, `steering/{deliveryservice}/targets/?(\.json)?$`, api.CreateHandler(&steeringtargets.TOSteeringTargetV11{}), auth.PrivLevelOperations, Authenticated, nil},
   {1.1, http.MethodPut, `steering/{deliveryservice}/targets/{target}/?(\.json)?$`, api.UpdateHandler(&steeringtargets.TOSteeringTargetV11{}), auth.PrivLevelOperations, Authenticated, nil},
   {1.1, http.MethodDelete, `steering/{deliveryservice}/targets/{target}/?(\.json)?$`, api.DeleteHandler(&steeringtargets.TOSteeringTargetV11{}), auth.PrivLevelOperations, Authenticated, nil},
   ```
   
   ^^ those routes in perl required a privlevel of 15 (portal role) not 20 (for the operations role).
   
   suggestion: change the role to steering since steering is also 15 and is a bit more clear.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services