{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/10936","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10936/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10936/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10936/events","html_url":"https://github.com/elastic/elasticsearch/pull/10936","id":72683045,"number":10936,"title":"simplify securitymanager init","user":{"login":"rmuir","id":504194,"avatar_url":"https://avatars.githubusercontent.com/u/504194?v=3","gravatar_id":"","url":"https://api.github.com/users/rmuir","html_url":"https://github.com/rmuir","followers_url":"https://api.github.com/users/rmuir/followers","following_url":"https://api.github.com/users/rmuir/following{/other_user}","gists_url":"https://api.github.com/users/rmuir/gists{/gist_id}","starred_url":"https://api.github.com/users/rmuir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmuir/subscriptions","organizations_url":"https://api.github.com/users/rmuir/orgs","repos_url":"https://api.github.com/users/rmuir/repos","events_url":"https://api.github.com/users/rmuir/events{/privacy}","received_events_url":"https://api.github.com/users/rmuir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-02T18:58:41Z","updated_at":"2015-05-03T17:44:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/10936","html_url":"https://github.com/elastic/elasticsearch/pull/10936","diff_url":"https://github.com/elastic/elasticsearch/pull/10936.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/10936.patch"},"body":"Today we create a temp file, concatenate our template with some dynamically generated rules, and then set a sysprop to the new temp file.\r\n\r\nA custom java.security.Policy is cleaner and easier to understand: we can avoid the sysprop, temp files, path escaping, etc.\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/98514074","html_url":"https://github.com/elastic/elasticsearch/pull/10936#issuecomment-98514074","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10936","id":98514074,"user":{"login":"kimchy","id":41300,"avatar_url":"https://avatars.githubusercontent.com/u/41300?v=3","gravatar_id":"","url":"https://api.github.com/users/kimchy","html_url":"https://github.com/kimchy","followers_url":"https://api.github.com/users/kimchy/followers","following_url":"https://api.github.com/users/kimchy/following{/other_user}","gists_url":"https://api.github.com/users/kimchy/gists{/gist_id}","starred_url":"https://api.github.com/users/kimchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimchy/subscriptions","organizations_url":"https://api.github.com/users/kimchy/orgs","repos_url":"https://api.github.com/users/kimchy/repos","events_url":"https://api.github.com/users/kimchy/events{/privacy}","received_events_url":"https://api.github.com/users/kimchy/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T17:44:58Z","updated_at":"2015-05-03T17:44:58Z","body":"nice, much cleaner! I think that on a different change we should see how we can separate the test rules from the security.policy, since it will allow us to get read of create security manager permission?\r\n\r\nLGTM"}}