trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgeli...@apache.org
Subject [trafficcontrol] 02/02: Change TO level for field mask
Date Thu, 20 Sep 2018 10:52:51 GMT
This is an automated email from the ASF dual-hosted git repository.

dgelinas pushed a commit to branch 3.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 2ecb0290a918555cb6fbd795d21053e431aa0617
Author: Robert Butts <rob@apache.org>
AuthorDate: Wed Sep 19 16:07:30 2018 -0600

    Change TO level for field mask
    
    (cherry picked from commit 37eec16df7422e34f45065d8e929688c04e0332e)
---
 traffic_ops/traffic_ops_golang/server/detail.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_ops/traffic_ops_golang/server/detail.go b/traffic_ops/traffic_ops_golang/server/detail.go
index 5488c21..c8c9a52 100644
--- a/traffic_ops/traffic_ops_golang/server/detail.go
+++ b/traffic_ops/traffic_ops_golang/server/detail.go
@@ -223,7 +223,7 @@ JOIN type t ON s.type = t.id
 		}
 
 		hiddenField := "********"
-		if user.PrivLevel < auth.PrivLevelAdmin {
+		if user.PrivLevel < auth.PrivLevelOperations {
 			s.ILOPassword = &hiddenField
 			s.XMPPPasswd = &hiddenField
 		}


Mime
View raw message