{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/8965","repository_url":"https://api.github.com/repos/mozilla/addons-server","labels_url":"https://api.github.com/repos/mozilla/addons-server/issues/8965/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-server/issues/8965/comments","events_url":"https://api.github.com/repos/mozilla/addons-server/issues/8965/events","html_url":"https://github.com/mozilla/addons-server/issues/8965","id":343647121,"node_id":"MDU6SXNzdWUzNDM2NDcxMjE=","number":8965,"title":"Link to the statistics page should not be available to non-admin users when an add-on is disabled","user":{"login":"AlexandraMoga","id":31961530,"node_id":"MDQ6VXNlcjMxOTYxNTMw","avatar_url":"https://avatars3.githubusercontent.com/u/31961530?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexandraMoga","html_url":"https://github.com/AlexandraMoga","followers_url":"https://api.github.com/users/AlexandraMoga/followers","following_url":"https://api.github.com/users/AlexandraMoga/following{/other_user}","gists_url":"https://api.github.com/users/AlexandraMoga/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexandraMoga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexandraMoga/subscriptions","organizations_url":"https://api.github.com/users/AlexandraMoga/orgs","repos_url":"https://api.github.com/users/AlexandraMoga/repos","events_url":"https://api.github.com/users/AlexandraMoga/events{/privacy}","received_events_url":"https://api.github.com/users/AlexandraMoga/received_events","type":"User","site_admin":false},"labels":[{"id":403938612,"node_id":"MDU6TGFiZWw0MDM5Mzg2MTI=","url":"https://api.github.com/repos/mozilla/addons-server/labels/component:%20devhub","name":"component: devhub","color":"107c05","default":false},{"id":821171071,"node_id":"MDU6TGFiZWw4MjExNzEwNzE=","url":"https://api.github.com/repos/mozilla/addons-server/labels/priority:%20p3","name":"priority: p3","color":"a4000f","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-23T14:03:29Z","updated_at":"2018-07-25T10:56:53Z","closed_at":null,"author_association":"NONE","body":"STR:\r\n\r\nNoticed while verifying #8936 \r\n\r\n1. Submit a new add-on with a regular developer account and wait for it to be auto-approved\r\n2. Open a new separate window and log in to Reviewer tools with an Admin Reviewer\r\n3. Look for the add-on submitted at step one and Force disable it\r\n4. Switch back to the developer account and click on View Statistics Dashboard from the Edit Information page\r\n\r\nActual result:\r\nThe statistics dashboard will return a 404 if the add-on is disabled\r\n\r\nExpected result:\r\nThe link for stats dashboard should be present only for admin users or for users with `Stats:View`\r\n\r\nNotes:\r\n - the links for the stats dashboard should be hidden on the add-on listing page as well\r\n - also reproduced when add-on status is set as Invisible\r\n\r\n![stats 404](https://user-images.githubusercontent.com/31961530/43081031-be1064ba-8e99-11e8-96bb-b027b98f32d2.gif)\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/31961530/43081016-b62e8e7a-8e99-11e8-8ea4-2ee5c2b68abe.png)\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/comments/407715769","html_url":"https://github.com/mozilla/addons-server/issues/8965#issuecomment-407715769","issue_url":"https://api.github.com/repos/mozilla/addons-server/issues/8965","id":407715769,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzcxNTc2OQ==","user":{"login":"EnTeQuAk","id":139033,"node_id":"MDQ6VXNlcjEzOTAzMw==","avatar_url":"https://avatars1.githubusercontent.com/u/139033?v=4","gravatar_id":"","url":"https://api.github.com/users/EnTeQuAk","html_url":"https://github.com/EnTeQuAk","followers_url":"https://api.github.com/users/EnTeQuAk/followers","following_url":"https://api.github.com/users/EnTeQuAk/following{/other_user}","gists_url":"https://api.github.com/users/EnTeQuAk/gists{/gist_id}","starred_url":"https://api.github.com/users/EnTeQuAk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnTeQuAk/subscriptions","organizations_url":"https://api.github.com/users/EnTeQuAk/orgs","repos_url":"https://api.github.com/users/EnTeQuAk/repos","events_url":"https://api.github.com/users/EnTeQuAk/events{/privacy}","received_events_url":"https://api.github.com/users/EnTeQuAk/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T10:56:53Z","updated_at":"2018-07-25T10:56:53Z","author_association":"MEMBER","body":"This sounds like we should file an issue on addons-frontend related to that too"}}
{"actor":{"display_login":"EnTeQuAk"}}