mitchell852 commented on a change in pull request #4528: Deprecate
users/{userId}/deliveryServices
URL: https://github.com/apache/trafficcontrol/pull/4528#discussion_r397273130
##########
File path:
traffic_portal/app/src/common/modules/form/user/FormUserController.js
##########
@@ -50,7 +50,7 @@ var FormUserController = function(user, $scope, $location,
formUtils, stringUtil
$scope.labelize = stringUtils.labelize;
$scope.viewDeliveryServices = function() {
- $location.path($location.path() + '/delivery-services');
+ $location.path('/tenants/' + userModel.user.tenantId +
'/delivery-services');
Review comment:
fyi for whoever reviews this. i was the one that suggested when viewing a
user's delivery services, it's probably easiest to simply send them to view the
delivery services of the user's tenant instead.
this does mean, however, that we are abandoning a view
(users/id/deliveryservices) that should probably be cleaned up.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services