{"action":"created","issue":{"url":"https://api.github.com/repos/laszlocsontos/liferay-portal/issues/68","labels_url":"https://api.github.com/repos/laszlocsontos/liferay-portal/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/laszlocsontos/liferay-portal/issues/68/comments","events_url":"https://api.github.com/repos/laszlocsontos/liferay-portal/issues/68/events","html_url":"https://github.com/laszlocsontos/liferay-portal/pull/68","id":78473678,"number":68,"title":"LPS-55786 Check permission before updating portlet mode","user":{"login":"istvansajtos","id":878192,"avatar_url":"https://avatars.githubusercontent.com/u/878192?v=3","gravatar_id":"","url":"https://api.github.com/users/istvansajtos","html_url":"https://github.com/istvansajtos","followers_url":"https://api.github.com/users/istvansajtos/followers","following_url":"https://api.github.com/users/istvansajtos/following{/other_user}","gists_url":"https://api.github.com/users/istvansajtos/gists{/gist_id}","starred_url":"https://api.github.com/users/istvansajtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/istvansajtos/subscriptions","organizations_url":"https://api.github.com/users/istvansajtos/orgs","repos_url":"https://api.github.com/users/istvansajtos/repos","events_url":"https://api.github.com/users/istvansajtos/events{/privacy}","received_events_url":"https://api.github.com/users/istvansajtos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-20T10:46:11Z","updated_at":"2015-05-21T13:42:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laszlocsontos/liferay-portal/pulls/68","html_url":"https://github.com/laszlocsontos/liferay-portal/pull/68","diff_url":"https://github.com/laszlocsontos/liferay-portal/pull/68.diff","patch_url":"https://github.com/laszlocsontos/liferay-portal/pull/68.patch"},"body":"Hi Laci,\r\n\r\nThe portal updated the portlet mode without checking permission, so users could access portlet modes they don't have permission to. (For more details see LPS-55786.)\r\n\r\nI added permission check to prevent the erroneous behaviour.\r\n\r\nThanks for reviewing!\r\n\r\nPisti "},"comment":{"url":"https://api.github.com/repos/laszlocsontos/liferay-portal/issues/comments/104281103","html_url":"https://github.com/laszlocsontos/liferay-portal/pull/68#issuecomment-104281103","issue_url":"https://api.github.com/repos/laszlocsontos/liferay-portal/issues/68","id":104281103,"user":{"login":"laszlocsontos","id":1962230,"avatar_url":"https://avatars.githubusercontent.com/u/1962230?v=3","gravatar_id":"","url":"https://api.github.com/users/laszlocsontos","html_url":"https://github.com/laszlocsontos","followers_url":"https://api.github.com/users/laszlocsontos/followers","following_url":"https://api.github.com/users/laszlocsontos/following{/other_user}","gists_url":"https://api.github.com/users/laszlocsontos/gists{/gist_id}","starred_url":"https://api.github.com/users/laszlocsontos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laszlocsontos/subscriptions","organizations_url":"https://api.github.com/users/laszlocsontos/orgs","repos_url":"https://api.github.com/users/laszlocsontos/repos","events_url":"https://api.github.com/users/laszlocsontos/events{/privacy}","received_events_url":"https://api.github.com/users/laszlocsontos/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T13:42:14Z","updated_at":"2015-05-21T13:42:14Z","body":"Pull request submitted to https://github.com/topolik/liferay-portal/pull/149. [See changes here.](https://github.com/laszlocsontos/liferay-portal/compare/04e6288~1...04e6288) <br><br>:octocat: *Sent from [GH](http://nodegh.io).*"}}