You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeremy Mitchell (JIRA)" <ji...@apache.org> on 2017/07/28 17:37:00 UTC
[jira] [Created] (TC-483) TPv2 / TO API - make tenant a required
field on delivery service
Jeremy Mitchell created TC-483:
----------------------------------
Summary: TPv2 / TO API - make tenant a required field on delivery service
Key: TC-483
URL: https://issues.apache.org/jira/browse/TC-483
Project: Traffic Control
Issue Type: Improvement
Components: Traffic Ops API, Traffic Portal
Reporter: Jeremy Mitchell
Priority: Minor
Currently, the tenant_id on a delivery service create or update is optional in the Traffic Portal and the TO API. This presents a risk because failure to set the ds.tenant_id will allow all users to see that delivery service. This may include users that should have no access to this delivery service.
I suggest we make this a required field on create or update of a ds. At some point tenancy will be required but in the interim tenancy can be turned off using the use-tenancy=0 parameter.
If the desire is to not use tenancy, you can still set the ds.tenant = root tenant (which is provided via seeds.sql) and use-tenancy=0
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)