{"action":"created","issue":{"url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/52","labels_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/52/comments","events_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/52/events","html_url":"https://github.com/tjwebb/sails-permissions/pull/52","id":75397224,"number":52,"title":"Update AuditPolicy to include Socket Requests","user":{"login":"scott-wyatt","id":4590417,"avatar_url":"https://avatars.githubusercontent.com/u/4590417?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-wyatt","html_url":"https://github.com/scott-wyatt","followers_url":"https://api.github.com/users/scott-wyatt/followers","following_url":"https://api.github.com/users/scott-wyatt/following{/other_user}","gists_url":"https://api.github.com/users/scott-wyatt/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-wyatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-wyatt/subscriptions","organizations_url":"https://api.github.com/users/scott-wyatt/orgs","repos_url":"https://api.github.com/users/scott-wyatt/repos","events_url":"https://api.github.com/users/scott-wyatt/events{/privacy}","received_events_url":"https://api.github.com/users/scott-wyatt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-11T23:47:28Z","updated_at":"2015-05-15T23:52:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tjwebb/sails-permissions/pulls/52","html_url":"https://github.com/tjwebb/sails-permissions/pull/52","diff_url":"https://github.com/tjwebb/sails-permissions/pull/52.diff","patch_url":"https://github.com/tjwebb/sails-permissions/pull/52.patch"},"body":"@kdamball my PR and your PR do basically the same thing, mine just checks if the request is socket or not.  Also the PR fixes the issue of req.get('host') that occurs over sockets by using the native sails.getHost().  This is my proposed fix.  Maybe a blend of the two will work.  Your call @tjwebb."},"comment":{"url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/comments/102550016","html_url":"https://github.com/tjwebb/sails-permissions/pull/52#issuecomment-102550016","issue_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/52","id":102550016,"user":{"login":"secrettriangle","id":1765130,"avatar_url":"https://avatars.githubusercontent.com/u/1765130?v=3","gravatar_id":"","url":"https://api.github.com/users/secrettriangle","html_url":"https://github.com/secrettriangle","followers_url":"https://api.github.com/users/secrettriangle/followers","following_url":"https://api.github.com/users/secrettriangle/following{/other_user}","gists_url":"https://api.github.com/users/secrettriangle/gists{/gist_id}","starred_url":"https://api.github.com/users/secrettriangle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/secrettriangle/subscriptions","organizations_url":"https://api.github.com/users/secrettriangle/orgs","repos_url":"https://api.github.com/users/secrettriangle/repos","events_url":"https://api.github.com/users/secrettriangle/events{/privacy}","received_events_url":"https://api.github.com/users/secrettriangle/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T23:52:07Z","updated_at":"2015-05-15T23:52:07Z","body":"I think most of this PR has already been implemented by other PRs. @scott-wyatt can you confirm?"}}