{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/5016","repository_url":"https://api.github.com/repos/NuGet/NuGetGallery","labels_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/5016/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/5016/comments","events_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/5016/events","html_url":"https://github.com/NuGet/NuGetGallery/issues/5016","id":274605415,"number":5016,"title":"Update delete account workflow to consider organizations","user":{"login":"chenriksson","id":15364949,"avatar_url":"https://avatars2.githubusercontent.com/u/15364949?v=4","gravatar_id":"","url":"https://api.github.com/users/chenriksson","html_url":"https://github.com/chenriksson","followers_url":"https://api.github.com/users/chenriksson/followers","following_url":"https://api.github.com/users/chenriksson/following{/other_user}","gists_url":"https://api.github.com/users/chenriksson/gists{/gist_id}","starred_url":"https://api.github.com/users/chenriksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenriksson/subscriptions","organizations_url":"https://api.github.com/users/chenriksson/orgs","repos_url":"https://api.github.com/users/chenriksson/repos","events_url":"https://api.github.com/users/chenriksson/events{/privacy}","received_events_url":"https://api.github.com/users/chenriksson/received_events","type":"User","site_admin":false},"labels":[{"id":706685944,"url":"https://api.github.com/repos/NuGet/NuGetGallery/labels/GDPR","name":"GDPR","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"chenriksson","id":15364949,"avatar_url":"https://avatars2.githubusercontent.com/u/15364949?v=4","gravatar_id":"","url":"https://api.github.com/users/chenriksson","html_url":"https://github.com/chenriksson","followers_url":"https://api.github.com/users/chenriksson/followers","following_url":"https://api.github.com/users/chenriksson/following{/other_user}","gists_url":"https://api.github.com/users/chenriksson/gists{/gist_id}","starred_url":"https://api.github.com/users/chenriksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenriksson/subscriptions","organizations_url":"https://api.github.com/users/chenriksson/orgs","repos_url":"https://api.github.com/users/chenriksson/repos","events_url":"https://api.github.com/users/chenriksson/events{/privacy}","received_events_url":"https://api.github.com/users/chenriksson/received_events","type":"User","site_admin":false},"assignees":[{"login":"chenriksson","id":15364949,"avatar_url":"https://avatars2.githubusercontent.com/u/15364949?v=4","gravatar_id":"","url":"https://api.github.com/users/chenriksson","html_url":"https://github.com/chenriksson","followers_url":"https://api.github.com/users/chenriksson/followers","following_url":"https://api.github.com/users/chenriksson/following{/other_user}","gists_url":"https://api.github.com/users/chenriksson/gists{/gist_id}","starred_url":"https://api.github.com/users/chenriksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenriksson/subscriptions","organizations_url":"https://api.github.com/users/chenriksson/orgs","repos_url":"https://api.github.com/users/chenriksson/repos","events_url":"https://api.github.com/users/chenriksson/events{/privacy}","received_events_url":"https://api.github.com/users/chenriksson/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/NuGet/NuGetGallery/milestones/99","html_url":"https://github.com/NuGet/NuGetGallery/milestone/99","labels_url":"https://api.github.com/repos/NuGet/NuGetGallery/milestones/99/labels","id":2879262,"number":99,"title":"S127 - 2017.11.13","description":"","creator":{"login":"skofman1","id":16807822,"avatar_url":"https://avatars1.githubusercontent.com/u/16807822?v=4","gravatar_id":"","url":"https://api.github.com/users/skofman1","html_url":"https://github.com/skofman1","followers_url":"https://api.github.com/users/skofman1/followers","following_url":"https://api.github.com/users/skofman1/following{/other_user}","gists_url":"https://api.github.com/users/skofman1/gists{/gist_id}","starred_url":"https://api.github.com/users/skofman1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skofman1/subscriptions","organizations_url":"https://api.github.com/users/skofman1/orgs","repos_url":"https://api.github.com/users/skofman1/repos","events_url":"https://api.github.com/users/skofman1/events{/privacy}","received_events_url":"https://api.github.com/users/skofman1/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":35,"state":"closed","created_at":"2017-10-31T20:13:28Z","updated_at":"2017-12-13T18:29:03Z","due_on":"2017-12-01T08:00:00Z","closed_at":"2017-12-13T18:29:03Z"},"comments":2,"created_at":"2017-11-16T17:48:20Z","updated_at":"2018-03-19T16:44:43Z","closed_at":"2017-12-01T18:57:00Z","author_association":"MEMBER","body":"Per discussion with @cristinamanum \r\n\r\nDelete account should:\r\n- Also list packages for user's organizations (intended to show ownerships they are giving up)\r\n- Incorporate organizations into orphaned package calculation:\r\n  - Package is also orphaned if org is last owner and account is last org member\r\n- Also list user's organizations that they will be removed from\r\n- Show green/red for orphaned organizations\r\n  - Organization is orphaned if account is last org member\r\n  - Also warn/show if account is last org admin\r\n\r\nNote that both this and #4894 require updating PackagesService.FindPackagesByOwner to return organization packages."},"comment":{"url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/comments/374281177","html_url":"https://github.com/NuGet/NuGetGallery/issues/5016#issuecomment-374281177","issue_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/5016","id":374281177,"user":{"login":"chenriksson","id":15364949,"avatar_url":"https://avatars2.githubusercontent.com/u/15364949?v=4","gravatar_id":"","url":"https://api.github.com/users/chenriksson","html_url":"https://github.com/chenriksson","followers_url":"https://api.github.com/users/chenriksson/followers","following_url":"https://api.github.com/users/chenriksson/following{/other_user}","gists_url":"https://api.github.com/users/chenriksson/gists{/gist_id}","starred_url":"https://api.github.com/users/chenriksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenriksson/subscriptions","organizations_url":"https://api.github.com/users/chenriksson/orgs","repos_url":"https://api.github.com/users/chenriksson/repos","events_url":"https://api.github.com/users/chenriksson/events{/privacy}","received_events_url":"https://api.github.com/users/chenriksson/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T16:44:43Z","updated_at":"2018-03-19T16:44:43Z","author_association":"MEMBER","body":"@skofman1 No, the work wasn't done. For now we've just blocked deletion of an organization, and we would need to revert it back to a user in order to support delete."}}
{"actor":{"display_login":"chenriksson"}}