This is an automated email from the ASF dual-hosted git repository.

elsloo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new ea2d936  Make /ping endpoint unauthenticated
ea2d936 is described below

commit ea2d936b584862dc1f0327935ae439b0c9d47dbc
Author: Rawlin Peters <rawlin_pet...@comcast.com>
AuthorDate: Tue Apr 17 09:52:36 2018 -0600

    Make /ping endpoint unauthenticated
    
    This is a regression from the earlier API which was unauthenticated.
---
 traffic_ops/traffic_ops_golang/routes.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_ops/traffic_ops_golang/routes.go 
b/traffic_ops/traffic_ops_golang/routes.go
index c6c72be..36046a7 100644
--- a/traffic_ops/traffic_ops_golang/routes.go
+++ b/traffic_ops/traffic_ops_golang/routes.go
@@ -179,7 +179,7 @@ func Routes(d ServerData) ([]Route, http.Handler, error) {
                {1.3, http.MethodDelete, `parameters/{id}$`, 
api.DeleteHandler(parameter.GetRefType(), d.DB), auth.PrivLevelOperations, 
Authenticated, nil},
 
                //Ping
-               {1.2, http.MethodGet, `ping$`, ping.PingHandler(), 
auth.PrivLevelReadOnly, Authenticated, nil},
+               {1.2, http.MethodGet, `ping$`, ping.PingHandler(), 
auth.PrivLevelReadOnly, NoAuth, nil},
 
                //Servers
                {1.2, http.MethodGet, `servers/?(\.json)?$`, 
api.ReadHandler(server.GetRefType(), d.DB), auth.PrivLevelReadOnly, 
Authenticated, nil},

-- 
To stop receiving notification emails like this one, please contact
els...@apache.org.

Reply via email to