Uploaded image for project: 'Traffic Control'
  1. Traffic Control
  2. TC-483

TPv2 / TO API - make tenant a required field on delivery service

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mitchell852@apache.org Jeremy Mitchell
                Reporter:
                mitchell852@apache.org Jeremy Mitchell
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: