{"action":"created","issue":{"url":"https://api.github.com/repos/coopdevs/katuma/issues/79","repository_url":"https://api.github.com/repos/coopdevs/katuma","labels_url":"https://api.github.com/repos/coopdevs/katuma/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/coopdevs/katuma/issues/79/comments","events_url":"https://api.github.com/repos/coopdevs/katuma/issues/79/events","html_url":"https://github.com/coopdevs/katuma/pull/79","id":135199273,"number":79,"title":"Remove user checking from invitation show","user":{"login":"andresgutgon","id":49499,"avatar_url":"https://avatars.githubusercontent.com/u/49499?v=3","gravatar_id":"","url":"https://api.github.com/users/andresgutgon","html_url":"https://github.com/andresgutgon","followers_url":"https://api.github.com/users/andresgutgon/followers","following_url":"https://api.github.com/users/andresgutgon/following{/other_user}","gists_url":"https://api.github.com/users/andresgutgon/gists{/gist_id}","starred_url":"https://api.github.com/users/andresgutgon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresgutgon/subscriptions","organizations_url":"https://api.github.com/users/andresgutgon/orgs","repos_url":"https://api.github.com/users/andresgutgon/repos","events_url":"https://api.github.com/users/andresgutgon/events{/privacy}","received_events_url":"https://api.github.com/users/andresgutgon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-21T12:15:51Z","updated_at":"2016-02-21T18:40:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coopdevs/katuma/pulls/79","html_url":"https://github.com/coopdevs/katuma/pull/79","diff_url":"https://github.com/coopdevs/katuma/pull/79.diff","patch_url":"https://github.com/coopdevs/katuma/pull/79.patch"},"body":"## WAT\r\nI removed user checking on `invitation#show` end point. This was raising this issue https://github.com/coopdevs/katuma/issues/78\r\n\r\nFinally I decided that is not API responsibility in this case if there is in the UI a user logged. Is better delegate that check to UI application.\r\n\r\nI'm doing that in this front end PR: https://github.com/coopdevs/katuma-web/pull/9\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/coopdevs/katuma/issues/comments/186883195","html_url":"https://github.com/coopdevs/katuma/pull/79#issuecomment-186883195","issue_url":"https://api.github.com/repos/coopdevs/katuma/issues/79","id":186883195,"user":{"login":"enricostano","id":748971,"avatar_url":"https://avatars.githubusercontent.com/u/748971?v=3","gravatar_id":"","url":"https://api.github.com/users/enricostano","html_url":"https://github.com/enricostano","followers_url":"https://api.github.com/users/enricostano/followers","following_url":"https://api.github.com/users/enricostano/following{/other_user}","gists_url":"https://api.github.com/users/enricostano/gists{/gist_id}","starred_url":"https://api.github.com/users/enricostano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enricostano/subscriptions","organizations_url":"https://api.github.com/users/enricostano/orgs","repos_url":"https://api.github.com/users/enricostano/repos","events_url":"https://api.github.com/users/enricostano/events{/privacy}","received_events_url":"https://api.github.com/users/enricostano/received_events","type":"User","site_admin":false},"created_at":"2016-02-21T18:40:44Z","updated_at":"2016-02-21T18:40:44Z","body":"More than delegating to UI the issue here is that the `show` action should just respond either with a `200` or `404`, given the right parameters. The `Bad request` branch was just paranoid.\r\n\r\n:+1: "}}