You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/01 16:39:04 UTC
[jira] [Commented] (TC-359) TO API - Cannot update user thru the
api
[ https://issues.apache.org/jira/browse/TC-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16033269#comment-16033269 ]
ASF GitHub Bot commented on TC-359:
-----------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-trafficcontrol/pull/624
> TO API - Cannot update user thru the api
> ----------------------------------------
>
> Key: TC-359
> URL: https://issues.apache.org/jira/browse/TC-359
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops API
> Reporter: Jeremy Mitchell
> Assignee: Jeremy Mitchell
>
> If you try to update a user using the API (PUT /api/*/users/:id) you'll always get:
> email is taken
> username is taken
> this is because email and username are unique so a search is performed to see if anyone is using email or username but it does not exclude the user your are trying to edit from that search.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)