{"action":"created","issue":{"url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/2165","labels_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/2165/labels{/name}","comments_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/2165/comments","events_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/2165/events","html_url":"https://github.com/twosigma/beaker-notebook/pull/2165","id":101868935,"number":2165,"title":"Move the user session check to publication controller","user":{"login":"grin","id":12468,"avatar_url":"https://avatars.githubusercontent.com/u/12468?v=3","gravatar_id":"","url":"https://api.github.com/users/grin","html_url":"https://github.com/grin","followers_url":"https://api.github.com/users/grin/followers","following_url":"https://api.github.com/users/grin/following{/other_user}","gists_url":"https://api.github.com/users/grin/gists{/gist_id}","starred_url":"https://api.github.com/users/grin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grin/subscriptions","organizations_url":"https://api.github.com/users/grin/orgs","repos_url":"https://api.github.com/users/grin/repos","events_url":"https://api.github.com/users/grin/events{/privacy}","received_events_url":"https://api.github.com/users/grin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-19T11:21:22Z","updated_at":"2015-08-19T12:17:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/twosigma/beaker-notebook/pulls/2165","html_url":"https://github.com/twosigma/beaker-notebook/pull/2165","diff_url":"https://github.com/twosigma/beaker-notebook/pull/2165.diff","patch_url":"https://github.com/twosigma/beaker-notebook/pull/2165.patch"},"body":"With this change the 404 request will be logged to dev console when the publish modal is opened and not on Beaker start-up.\r\n\r\nFixes https://github.com/twosigma/beaker-notebook/issues/2127"},"comment":{"url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/comments/132570500","html_url":"https://github.com/twosigma/beaker-notebook/pull/2165#issuecomment-132570500","issue_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/2165","id":132570500,"user":{"login":"ildipo","id":8972575,"avatar_url":"https://avatars.githubusercontent.com/u/8972575?v=3","gravatar_id":"","url":"https://api.github.com/users/ildipo","html_url":"https://github.com/ildipo","followers_url":"https://api.github.com/users/ildipo/followers","following_url":"https://api.github.com/users/ildipo/following{/other_user}","gists_url":"https://api.github.com/users/ildipo/gists{/gist_id}","starred_url":"https://api.github.com/users/ildipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ildipo/subscriptions","organizations_url":"https://api.github.com/users/ildipo/orgs","repos_url":"https://api.github.com/users/ildipo/repos","events_url":"https://api.github.com/users/ildipo/events{/privacy}","received_events_url":"https://api.github.com/users/ildipo/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T12:17:42Z","updated_at":"2015-08-19T12:17:42Z","body":"I think this is fine - can we change the error code to 401?"}}