mitchell852 edited a comment on issue #3096: Traffic Portal dbdump failure 
shows no error message
URL: https://github.com/apache/trafficcontrol/issues/3096#issuecomment-450407496
 
 
   I tried GET /api/1.4/dbdump with less than admin role and got this:
   
   
![image](https://user-images.githubusercontent.com/251272/50524872-71f81780-0a95-11e9-8289-007723c7c2eb.png)
   
   The 403 is correct but confused why `data: ArrayBuffer(49)` is in there. 
Seems like it sends a 403 AND the contents of the dbdump...obviously, it 
shouldn't do that.
   
   Even though it clearly looks like you get kicked out before doing the dbdump 
if you are not admin role:
   
   
https://github.com/apache/trafficcontrol/blob/master/traffic_ops/app/lib/API/Database.pm#L29

----------------------------------------------------------------
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

Reply via email to