mitchell852 opened a new issue #2063: creating, updating and deleting types 
should be reserved for admin users
URL: https://github.com/apache/incubator-trafficcontrol/issues/2063
 
 
   The system is very sensitive to the types found in the type table. For 
example, there needs to be a type named HOST_REGEXP or bad stuff happens. 
Really, some types should never be edited like HOST_REGEXP.
   
   At the very least, the create, update and delete routes should be limited to 
users with the admin role.
   
   Golang (1.3) - 
   
   
https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/traffic_ops_golang/routes.go#L146-L148
   
   Perl (1.2) - 
   
   
https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/API/Types.pm#L93
   
   
https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/API/Types.pm#L135
   
   
https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/API/Types.pm#L179

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