trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mitchell...@apache.org
Subject [07/14] incubator-trafficcontrol git commit: UI: Added elivery service has the creating user tenancy
Date Mon, 10 Jul 2017 20:49:59 GMT
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 <nirsopher@gmail.com>
Authored: Wed Mar 22 22:59:57 2017 +0200
Committer: Jeremy Mitchell <mitchell852@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();


Mime
View raw message