{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/1869","repository_url":"https://api.github.com/repos/strongloop/loopback","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/1869/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/1869/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/1869/events","html_url":"https://github.com/strongloop/loopback/issues/1869","id":121230940,"number":1869,"title":"disableRemoteMethod does not work in boot script","user":{"login":"jmimi","id":2723520,"avatar_url":"https://avatars.githubusercontent.com/u/2723520?v=3","gravatar_id":"","url":"https://api.github.com/users/jmimi","html_url":"https://github.com/jmimi","followers_url":"https://api.github.com/users/jmimi/followers","following_url":"https://api.github.com/users/jmimi/following{/other_user}","gists_url":"https://api.github.com/users/jmimi/gists{/gist_id}","starred_url":"https://api.github.com/users/jmimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmimi/subscriptions","organizations_url":"https://api.github.com/users/jmimi/orgs","repos_url":"https://api.github.com/users/jmimi/repos","events_url":"https://api.github.com/users/jmimi/events{/privacy}","received_events_url":"https://api.github.com/users/jmimi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback/labels/beginner-friendly","name":"beginner-friendly","color":"00dd00"},{"url":"https://api.github.com/repos/strongloop/loopback/labels/feature","name":"feature","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-09T12:52:21Z","updated_at":"2016-04-27T20:14:15Z","closed_at":null,"body":"/server/boot/initializer.js\r\n```javascript\r\napp.models.Foo.disableRemoteMethod(\"find\", true);\r\n```\r\nAbove code doest not affect anything."},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/215214060","html_url":"https://github.com/strongloop/loopback/issues/1869#issuecomment-215214060","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/1869","id":215214060,"user":{"login":"supasate","id":237753,"avatar_url":"https://avatars.githubusercontent.com/u/237753?v=3","gravatar_id":"","url":"https://api.github.com/users/supasate","html_url":"https://github.com/supasate","followers_url":"https://api.github.com/users/supasate/followers","following_url":"https://api.github.com/users/supasate/following{/other_user}","gists_url":"https://api.github.com/users/supasate/gists{/gist_id}","starred_url":"https://api.github.com/users/supasate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supasate/subscriptions","organizations_url":"https://api.github.com/users/supasate/orgs","repos_url":"https://api.github.com/users/supasate/repos","events_url":"https://api.github.com/users/supasate/events{/privacy}","received_events_url":"https://api.github.com/users/supasate/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T20:14:15Z","updated_at":"2016-04-27T20:14:15Z","body":"I have submitted 2 PRs to solve this issue (#2266 and strongloop/loopback-component-explorer#157)."}}