{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/3970","repository_url":"https://api.github.com/repos/mozilla/addons-server","labels_url":"https://api.github.com/repos/mozilla/addons-server/issues/3970/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-server/issues/3970/comments","events_url":"https://api.github.com/repos/mozilla/addons-server/issues/3970/events","html_url":"https://github.com/mozilla/addons-server/issues/3970","id":188293921,"number":3970,"title":"It should not be possible to submit a new version for an admin disabled add-on","user":{"login":"wagnerand","id":873258,"avatar_url":"https://avatars.githubusercontent.com/u/873258?v=3","gravatar_id":"","url":"https://api.github.com/users/wagnerand","html_url":"https://github.com/wagnerand","followers_url":"https://api.github.com/users/wagnerand/followers","following_url":"https://api.github.com/users/wagnerand/following{/other_user}","gists_url":"https://api.github.com/users/wagnerand/gists{/gist_id}","starred_url":"https://api.github.com/users/wagnerand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagnerand/subscriptions","organizations_url":"https://api.github.com/users/wagnerand/orgs","repos_url":"https://api.github.com/users/wagnerand/repos","events_url":"https://api.github.com/users/wagnerand/events{/privacy}","received_events_url":"https://api.github.com/users/wagnerand/received_events","type":"User","site_admin":false},"labels":[{"id":353728166,"url":"https://api.github.com/repos/mozilla/addons-server/labels/priority%20one","name":"priority one","color":"b60205","default":false},{"id":260731116,"url":"https://api.github.com/repos/mozilla/addons-server/labels/pull%20request%20ready","name":"pull request ready","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"eviljeff","id":768592,"avatar_url":"https://avatars.githubusercontent.com/u/768592?v=3","gravatar_id":"","url":"https://api.github.com/users/eviljeff","html_url":"https://github.com/eviljeff","followers_url":"https://api.github.com/users/eviljeff/followers","following_url":"https://api.github.com/users/eviljeff/following{/other_user}","gists_url":"https://api.github.com/users/eviljeff/gists{/gist_id}","starred_url":"https://api.github.com/users/eviljeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eviljeff/subscriptions","organizations_url":"https://api.github.com/users/eviljeff/orgs","repos_url":"https://api.github.com/users/eviljeff/repos","events_url":"https://api.github.com/users/eviljeff/events{/privacy}","received_events_url":"https://api.github.com/users/eviljeff/received_events","type":"User","site_admin":false},"assignees":[{"login":"eviljeff","id":768592,"avatar_url":"https://avatars.githubusercontent.com/u/768592?v=3","gravatar_id":"","url":"https://api.github.com/users/eviljeff","html_url":"https://github.com/eviljeff","followers_url":"https://api.github.com/users/eviljeff/followers","following_url":"https://api.github.com/users/eviljeff/following{/other_user}","gists_url":"https://api.github.com/users/eviljeff/gists{/gist_id}","starred_url":"https://api.github.com/users/eviljeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eviljeff/subscriptions","organizations_url":"https://api.github.com/users/eviljeff/orgs","repos_url":"https://api.github.com/users/eviljeff/repos","events_url":"https://api.github.com/users/eviljeff/events{/privacy}","received_events_url":"https://api.github.com/users/eviljeff/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-11-09T16:40:16Z","updated_at":"2016-11-22T12:00:22Z","closed_at":"2016-11-22T12:00:22Z","body":"### Describe the problem and steps to reproduce it:\r\n\r\nWe have two status for disabled add-ons:\r\n* Incomplete = There are no approved versions. The author can upload a new version any time.\r\n* Disabled by Mozilla = The listing (if applicable) is disabled. The author can not upload any versions.\r\n\r\nThis issue is solely about the latter status.\r\n\r\nSTR:\r\n1. Upload a new add-on (listed or unlisted does not matter).\r\n2. Go to the admin manage page for that add-on (/admin/addon/manage/<slug>/) and set the add-on status to 'Disabled by Mozilla'.\r\n3. Upload a new version for the same add-on.\r\n\r\n### What happened?\r\n\r\nAn author can upload new versions for an add-on that has been 'Disabled by Mozilla'.\r\n\r\n### What did you expect to happen?\r\n\r\nThe version upload should have failed.\r\n"}}
{"actor":{"display_login":"eviljeff"}}