{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14900","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14900/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14900/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14900/events","html_url":"https://github.com/ManageIQ/manageiq/issues/14900","id":224526253,"number":14900,"title":"Linking Tower's username and VMDB Authentication.userid for UI edit rendering","user":{"login":"jameswnl","id":2421248,"avatar_url":"https://avatars1.githubusercontent.com/u/2421248?v=3","gravatar_id":"","url":"https://api.github.com/users/jameswnl","html_url":"https://github.com/jameswnl","followers_url":"https://api.github.com/users/jameswnl/followers","following_url":"https://api.github.com/users/jameswnl/following{/other_user}","gists_url":"https://api.github.com/users/jameswnl/gists{/gist_id}","starred_url":"https://api.github.com/users/jameswnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameswnl/subscriptions","organizations_url":"https://api.github.com/users/jameswnl/orgs","repos_url":"https://api.github.com/users/jameswnl/repos","events_url":"https://api.github.com/users/jameswnl/events{/privacy}","received_events_url":"https://api.github.com/users/jameswnl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":31,"created_at":"2017-04-26T16:25:56Z","updated_at":"2017-05-03T15:37:11Z","closed_at":null,"body":"This is part of https://bugzilla.redhat.com/show_bug.cgi?id=1444398.  The bug thread is a bit distracted by other issue, hopefully this can help cut to the chase:\r\n\r\n`usename` is described in `API/EXTRA_ATTRIBUTES`.  However its value is not stored in the `options` hash, but in the native `Authentication` model attribute `userid`.\r\n\r\nUI has no information to link the two and so when rendering an Edit page, UI can't populate the field with existing value.\r\n\r\nSo we need a mechanism to bridge them.  (For this particular issue, the `username` is the `Access Key` in the screen shot.)\r\n\r\n@mzazrivec @Fryguy @blomquisg \r\ncc @jntullo \r\n\r\n![screenshot-20170425 110206 1](https://cloud.githubusercontent.com/assets/2421248/25445400/4ca01a00-2a7c-11e7-8be0-6e9794fc066a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/298948973","html_url":"https://github.com/ManageIQ/manageiq/issues/14900#issuecomment-298948973","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14900","id":298948973,"user":{"login":"abellotti","id":5797328,"avatar_url":"https://avatars2.githubusercontent.com/u/5797328?v=3","gravatar_id":"","url":"https://api.github.com/users/abellotti","html_url":"https://github.com/abellotti","followers_url":"https://api.github.com/users/abellotti/followers","following_url":"https://api.github.com/users/abellotti/following{/other_user}","gists_url":"https://api.github.com/users/abellotti/gists{/gist_id}","starred_url":"https://api.github.com/users/abellotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abellotti/subscriptions","organizations_url":"https://api.github.com/users/abellotti/orgs","repos_url":"https://api.github.com/users/abellotti/repos","events_url":"https://api.github.com/users/abellotti/events{/privacy}","received_events_url":"https://api.github.com/users/abellotti/received_events","type":"User","site_admin":false},"created_at":"2017-05-03T15:37:11Z","updated_at":"2017-05-03T15:37:11Z","body":"are you using the patch directives as mentioned in http://manageiq.org/docs/reference/latest/api/overview/http#updating-resources in the payload, or just the attributes ?  in the latter case you probably just want a PUT or POST with \"edit\" action."}}
{"actor":{"display_login":"abellotti"}}