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
The following commit(s) were added to refs/heads/master by this push:
new c6f716c Added steering role for steering user to log in with (#3564)
c6f716c is described below
commit c6f716cbafdd2f89ab2a8d7afc2c5f67e72e97ee
Author: Matthew Allen Moltzau <[email protected]>
AuthorDate: Fri May 10 09:50:18 2019 -0600
Added steering role for steering user to log in with (#3564)
---
traffic_ops/testing/api/v14/tc-fixtures.json | 2 +-
traffic_ops/testing/api/v14/todb.go | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/traffic_ops/testing/api/v14/tc-fixtures.json
b/traffic_ops/testing/api/v14/tc-fixtures.json
index e4d0281..bd8305a 100644
--- a/traffic_ops/testing/api/v14/tc-fixtures.json
+++ b/traffic_ops/testing/api/v14/tc-fixtures.json
@@ -2050,7 +2050,7 @@
"postalCode": "",
"publicSshKey": "",
"registrationSent": "",
- "role": 3,
+ "role": 6,
"stateOrProvince": "",
"tenant": "root",
"uid": 0,
diff --git a/traffic_ops/testing/api/v14/todb.go
b/traffic_ops/testing/api/v14/todb.go
index 61bb12d..9a6fc97 100644
--- a/traffic_ops/testing/api/v14/todb.go
+++ b/traffic_ops/testing/api/v14/todb.go
@@ -103,6 +103,7 @@ INSERT INTO role (name, description, priv_level) VALUES
('read-only user','Block
INSERT INTO role (name, description, priv_level) VALUES ('operations','Block
all access', 20) ON CONFLICT DO NOTHING;
INSERT INTO role (name, description, priv_level) VALUES ('admin','super-user',
30) ON CONFLICT DO NOTHING;
INSERT INTO role (name, description, priv_level) VALUES ('portal','Portal
User', 2) ON CONFLICT DO NOTHING;
+INSERT INTO role (name, description, priv_level) VALUES ('steering','Steering
User', 15) ON CONFLICT DO NOTHING;
INSERT INTO role (name, description, priv_level) VALUES ('federation','Role
for Secondary CZF', 15) ON CONFLICT DO NOTHING;
`
err := execSQL(db, sqlStmt, "role")