Github user mitchell852 commented on a diff in the pull request: https://github.com/apache/incubator-trafficcontrol/pull/398#discussion_r109074671 --- Diff: traffic_ops/app/lib/API/User.pm --- @@ -375,6 +385,10 @@ sub update_current { if ( defined( $user->{"username"} ) ) { $db_user->{"username"} = $user->{"username"}; } + if ( exists( $user->{"tenantId"} ) ) { --- End diff -- i would keep this consistent and use "defined" like it is for the other values. yes, i guess it prevents "data clearing" but maybe you shouldn't be able to wipe out your own tenant value.
--- 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. ---