Github user mitchell852 commented on a diff in the pull request:

    
https://github.com/apache/incubator-trafficcontrol/pull/751#discussion_r129906584
  
    --- Diff: traffic_ops/app/lib/API/DeliveryServiceRegexes.pm ---
    @@ -66,6 +73,12 @@ sub index {
                return $self->not_found();
        }
     
    +   my $tenant_utils = Utils::Tenant->new($self);
    +   my $tenants_data = $tenant_utils->create_tenants_data_from_db();
    +   if (!$tenant_utils->is_ds_resource_accessible($tenants_data, 
$ds->tenant_id)) {
    +           return $self->forbidden();
    --- End diff --
    
    actually, can you do that on all your forbidden message for now on that are 
the result of a tenancy check failure?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to