Github user mitchell852 commented on a diff in the pull request:

    
https://github.com/apache/incubator-trafficcontrol/pull/356#discussion_r106014242
  
    --- Diff: traffic_ops/app/lib/UI/GenDbDump.pm ---
    @@ -17,11 +17,17 @@ package UI::GenDbDump;
     #
     use Mojo::Base 'Mojolicious::Controller';
     use Data::Dumper;
    +use UI::Utils;
     
     sub dbdump {
        my $self = shift;
        my $filename = $self->param('filename');
     
    +   if ( !&is_oper($self) ) {
    +           $self->internal_server_error( { Error => "Insufficient 
permissions for DB Dump. Admin access is required." } ); 
    --- End diff --
    
    your error message is not quite right :)
    
    Admin OR ops role is required...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to