You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeremy Mitchell (JIRA)" <ji...@apache.org> on 2017/06/01 17:16:04 UTC
[jira] [Resolved] (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:all-tabpanel ]
Jeremy Mitchell resolved TC-359.
--------------------------------
Resolution: Fixed
> 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)