You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/04/29 13:26:47 UTC

[GitHub] [trafficcontrol] ocket8888 commented on a change in pull request #3524: Collapse database migrations

ocket8888 commented on a change in pull request #3524: Collapse database migrations
URL: https://github.com/apache/trafficcontrol/pull/3524#discussion_r279362029
 
 

 ##########
 File path: traffic_ops/app/db/seeds.sql
 ##########
 @@ -81,6 +87,7 @@ insert into tenant (name, active, parent_id) values ('unassigned', true, (select
 -- 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', 'Has access to everything.', 30) ON CONFLICT (name) DO NOTHING;
 insert into role (name, description, priv_level) values ('operations', 'Has all reads and most write capabilities', 20) ON CONFLICT (name) DO NOTHING;
+insert into role (name, description, priv_level) values ('portal', 'Portal User', 15) ON CONFLICT (name) DO NOTHING;
 
 Review comment:
   I've changed it to 5, since there appear to be 5 roles defined out-of-the-box:
   
   * admin
   * operations
   * portal
   * read-only
   * disallowed
   
   (not sure where "steering" and "extension" come into play? Maybe just unenforced convention?)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services