{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/paas-cf/issues/1618","repository_url":"https://api.github.com/repos/alphagov/paas-cf","labels_url":"https://api.github.com/repos/alphagov/paas-cf/issues/1618/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/paas-cf/issues/1618/comments","events_url":"https://api.github.com/repos/alphagov/paas-cf/issues/1618/events","html_url":"https://github.com/alphagov/paas-cf/pull/1618","id":379268907,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5Nzc3NDI4","number":1618,"title":"[#SUPPORT] Add a script to reset users' passwords","user":{"login":"richardTowers","id":1696784,"node_id":"MDQ6VXNlcjE2OTY3ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1696784?v=4","gravatar_id":"","url":"https://api.github.com/users/richardTowers","html_url":"https://github.com/richardTowers","followers_url":"https://api.github.com/users/richardTowers/followers","following_url":"https://api.github.com/users/richardTowers/following{/other_user}","gists_url":"https://api.github.com/users/richardTowers/gists{/gist_id}","starred_url":"https://api.github.com/users/richardTowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardTowers/subscriptions","organizations_url":"https://api.github.com/users/richardTowers/orgs","repos_url":"https://api.github.com/users/richardTowers/repos","events_url":"https://api.github.com/users/richardTowers/events{/privacy}","received_events_url":"https://api.github.com/users/richardTowers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-09T18:17:29Z","updated_at":"2018-11-09T18:18:53Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/alphagov/paas-cf/pulls/1618","html_url":"https://github.com/alphagov/paas-cf/pull/1618","diff_url":"https://github.com/alphagov/paas-cf/pull/1618.diff","patch_url":"https://github.com/alphagov/paas-cf/pull/1618.patch"},"body":"What\n----\n\nIn https://github.com/alphagov/paas-cf/pull/1584 we changed the\ncreate-users.sh script to just create orgs, not users.\n\nIt turns out that script was also the canonical way of resetting users'\npasswords -\nhttps://team-manual.cloud.service.gov.uk/guides/common_support_tasks/#changing-a-user-39-s-password\n\nI don't think it makes sense to use the same script for both tasks, so\nhere's another script that does more-or-less the same thing, but relies\non paas-admin to do the invite sending.\n\nSee\nhttps://github.com/alphagov/paas-cf/blob/3579e0aa9f2c171b95be629a00a3c0b9c10fd8ee/scripts/create-user.sh\nfor the old implementation.\n\nHow to review\n-------------\n\n* Code review\n* Try the script on a test user\n\nWho can review\n--------------\n\nNot @richardTowers"},"comment":{"url":"https://api.github.com/repos/alphagov/paas-cf/issues/comments/437448371","html_url":"https://github.com/alphagov/paas-cf/pull/1618#issuecomment-437448371","issue_url":"https://api.github.com/repos/alphagov/paas-cf/issues/1618","id":437448371,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzQ0ODM3MQ==","user":{"login":"richardTowers","id":1696784,"node_id":"MDQ6VXNlcjE2OTY3ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1696784?v=4","gravatar_id":"","url":"https://api.github.com/users/richardTowers","html_url":"https://github.com/richardTowers","followers_url":"https://api.github.com/users/richardTowers/followers","following_url":"https://api.github.com/users/richardTowers/following{/other_user}","gists_url":"https://api.github.com/users/richardTowers/gists{/gist_id}","starred_url":"https://api.github.com/users/richardTowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardTowers/subscriptions","organizations_url":"https://api.github.com/users/richardTowers/orgs","repos_url":"https://api.github.com/users/richardTowers/repos","events_url":"https://api.github.com/users/richardTowers/events{/privacy}","received_events_url":"https://api.github.com/users/richardTowers/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T18:18:53Z","updated_at":"2018-11-09T18:18:53Z","author_association":"MEMBER","body":"Will fix the team manual to point at this script once this merges"}}
{"actor":{"display_login":"richardTowers"}}