mitchell852 closed pull request #2708: add operations role to seeds.sql so
there when used for extension user
URL: https://github.com/apache/trafficcontrol/pull/2708
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/traffic_ops/app/db/seeds.sql b/traffic_ops/app/db/seeds.sql
index e61fe6a1a..37657dcb4 100644
--- a/traffic_ops/app/db/seeds.sql
+++ b/traffic_ops/app/db/seeds.sql
@@ -78,8 +78,9 @@ insert into tenant (name, active, parent_id) values ('root',
true, null) ON CONF
insert into tenant (name, active, parent_id) values ('unassigned', true,
(select id from tenant where name='root')) ON CONFLICT DO NOTHING;
-- roles
--- out of the box, only 2 roles are defined. Other roles can be created by the
admin as needed.
+-- out of the box, only 3 roles are defined. Other roles can be created by the
admin as needed.
insert into role (name, description, priv_level) values ('admin',
'super-user', 30) ON CONFLICT (name) DO NOTHING;
+insert into role (name, description, priv_level) values ('operations', 'group
enabled for most operations', 20) ON CONFLICT (name) DO NOTHING;
insert into role (name, description, priv_level) values ('disallowed', 'Block
all access', 0) ON CONFLICT (name) DO NOTHING;
-- capabilities
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services