You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2018/09/19 22:09:58 UTC

[trafficcontrol] 02/02: Change TO level for field mask

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

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

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

    Change TO level for field mask
---
 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
 		}