{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/18838","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/18838/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/18838/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/18838/events","html_url":"https://github.com/elastic/kibana/issues/18838","id":320452808,"number":18838,"title":"Reporting error shown when an user with limited privileges tries to generate a report is incorrect .","user":{"login":"rasroh","id":11466284,"avatar_url":"https://avatars0.githubusercontent.com/u/11466284?v=4","gravatar_id":"","url":"https://api.github.com/users/rasroh","html_url":"https://github.com/rasroh","followers_url":"https://api.github.com/users/rasroh/followers","following_url":"https://api.github.com/users/rasroh/following{/other_user}","gists_url":"https://api.github.com/users/rasroh/gists{/gist_id}","starred_url":"https://api.github.com/users/rasroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasroh/subscriptions","organizations_url":"https://api.github.com/users/rasroh/orgs","repos_url":"https://api.github.com/users/rasroh/repos","events_url":"https://api.github.com/users/rasroh/events{/privacy}","received_events_url":"https://api.github.com/users/rasroh/received_events","type":"User","site_admin":false},"labels":[{"id":470241449,"url":"https://api.github.com/repos/elastic/kibana/labels/:Sharing","name":":Sharing","color":"fef2c0","default":false},{"id":912940527,"url":"https://api.github.com/repos/elastic/kibana/labels/:reporting","name":":reporting","color":"009800","default":false},{"id":26198234,"url":"https://api.github.com/repos/elastic/kibana/labels/bug","name":"bug","color":"9e2c2c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-04T22:56:08Z","updated_at":"2018-05-07T10:18:28Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"\r\n**Kibana version**: 6.3.0 BC3\r\n\r\n**Elasticsearch version**:6.3.0 BC3\r\n\r\n**Server OS version**:  CentOS7_rpm\r\n\r\n**Browser version**: Chrome\r\n\r\n**Browser OS version**: OSX\r\n\r\n**Original install method (e.g. download page, yum, from source, etc.)**: BC3\r\n\r\n**Steps to reproduce**:\r\n 1. Create a user who does not have enough reporting privileges. \r\n 2. Login as that user and create a viz, generate a report. \r\n 3.As soon as you click on the generate report button, there is an error which pops up as shown, which says ``` Cannot reach the  server. Please try again``` \r\nConsole logs say ```403 forbidden error``` as shown below- which is right .\r\n\r\nThe point is the error message shown on the UI is incorrect . It should have been along the lines of  ```This user does not have enough privileges to generate a report ``` or something like that .\r\n\r\n<img width=\"1435\" alt=\"screen shot 2018-05-04 at 3 49 36 pm\" src=\"https://user-images.githubusercontent.com/11466284/39656245-56eb9482-4fb3-11e8-9212-c41abd4adf3b.png\">\r\n\r\n\r\ncc @kobelb "},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/387022556","html_url":"https://github.com/elastic/kibana/issues/18838#issuecomment-387022556","issue_url":"https://api.github.com/repos/elastic/kibana/issues/18838","id":387022556,"user":{"login":"kobelb","id":627123,"avatar_url":"https://avatars0.githubusercontent.com/u/627123?v=4","gravatar_id":"","url":"https://api.github.com/users/kobelb","html_url":"https://github.com/kobelb","followers_url":"https://api.github.com/users/kobelb/followers","following_url":"https://api.github.com/users/kobelb/following{/other_user}","gists_url":"https://api.github.com/users/kobelb/gists{/gist_id}","starred_url":"https://api.github.com/users/kobelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kobelb/subscriptions","organizations_url":"https://api.github.com/users/kobelb/orgs","repos_url":"https://api.github.com/users/kobelb/repos","events_url":"https://api.github.com/users/kobelb/events{/privacy}","received_events_url":"https://api.github.com/users/kobelb/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T10:18:28Z","updated_at":"2018-05-07T10:18:28Z","author_association":"CONTRIBUTOR","body":"@elastic/kibana-sharing "}}
{"actor":{"display_login":"kobelb"}}