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/07/24 18:11:59 UTC

[GitHub] [trafficcontrol] mitchell852 opened a new issue #3754: GET api/{version}/users/:userid/deliveryservices returns inaccurate results

mitchell852 opened a new issue #3754: GET api/{version}/users/:userid/deliveryservices returns inaccurate results
URL: https://github.com/apache/trafficcontrol/issues/3754
 
 
   With the advent of tenancy, a few things have changed and one of the more notable things is that users now have access to ALL delivery services contained within the scope of their tenancy and not just the delivery services that are explicitly assigned to the user.
   
   However `GET api/{version}/users/:userid/deliveryservices` returns delivery services that are explicitly assigned to the user in the deliveryservice_tmuser table. This table is no longer relevant and should be removed but that's another issue.
   
   `GET api/{version}/users/:userid/deliveryservices` should take into account the specified user's tenant and return all delivery services based on that tenant.
   
   This bug manifests itself in TP at https://tp.domain.com/#!/users/95/delivery-services. Once the api is fixed, TP will display the correct results.
   
   

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