Github user nir-sopher commented on a diff in the pull request:

    
https://github.com/apache/incubator-trafficcontrol/pull/644#discussion_r124637268
  
    --- Diff: traffic_ops/app/lib/API/Tenant.pm ---
    @@ -121,7 +115,12 @@ sub update {
                }       
        }       
     
    -   if ( !defined( $params->{parentId}) && !$self->isRootTenant($id) ) {
    +   my $tenant_utils = UI::TenantUtils->new($self);
    +   my $tenants_data = $tenant_utils->create_tenants_data_from_db(undef);
    +
    --- End diff --
    
    Indeed we agreed that a "root" tenant cannot become not root, and a 
non-root cannot become root. It also cannot be disabled.
    Does it mean that a root tenant cannot be changed? I;m not sure but it 
indeed simolify things.
    Will do


---
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