You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/07/10 20:49:59 UTC
[07/14] incubator-trafficcontrol git commit: UI: Added elivery
service has the creating user tenancy
UI: Added elivery service has the creating user tenancy
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/dc000f8f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/dc000f8f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/dc000f8f
Branch: refs/heads/master
Commit: dc000f8f9117d30fe75051588c3a7b6d68400240
Parents: 23806ce
Author: nir-sopher <ni...@gmail.com>
Authored: Wed Mar 22 22:59:57 2017 +0200
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Mon Jul 10 14:41:42 2017 -0600
----------------------------------------------------------------------
traffic_ops/app/lib/UI/DeliveryService.pm | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/dc000f8f/traffic_ops/app/lib/UI/DeliveryService.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/UI/DeliveryService.pm b/traffic_ops/app/lib/UI/DeliveryService.pm
index 51d7840..b9e33e5 100644
--- a/traffic_ops/app/lib/UI/DeliveryService.pm
+++ b/traffic_ops/app/lib/UI/DeliveryService.pm
@@ -1054,6 +1054,7 @@ sub create {
remap_text => $self->paramAsScalar( 'ds.remap_text', undef ),
initial_dispersion => $self->paramAsScalar( 'ds.initial_dispersion', 1 ),
logs_enabled => $self->paramAsScalar('ds.logs_enabled'),
+ tenant_id => current_user_tenant($self),#Tenancy is not dealt by the UI for now. getting the tenancy from the user
}
);
$insert->insert();