{"action":"created","issue":{"url":"https://api.github.com/repos/WGBH/AAPB2/issues/446","labels_url":"https://api.github.com/repos/WGBH/AAPB2/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/WGBH/AAPB2/issues/446/comments","events_url":"https://api.github.com/repos/WGBH/AAPB2/issues/446/events","html_url":"https://github.com/WGBH/AAPB2/issues/446","id":87009237,"number":446,"title":"Geoblock Reading Room content for users outside the US","user":{"login":"mccalluc","id":730388,"avatar_url":"https://avatars.githubusercontent.com/u/730388?v=3","gravatar_id":"","url":"https://api.github.com/users/mccalluc","html_url":"https://github.com/mccalluc","followers_url":"https://api.github.com/users/mccalluc/followers","following_url":"https://api.github.com/users/mccalluc/following{/other_user}","gists_url":"https://api.github.com/users/mccalluc/gists{/gist_id}","starred_url":"https://api.github.com/users/mccalluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccalluc/subscriptions","organizations_url":"https://api.github.com/users/mccalluc/orgs","repos_url":"https://api.github.com/users/mccalluc/repos","events_url":"https://api.github.com/users/mccalluc/events{/privacy}","received_events_url":"https://api.github.com/users/mccalluc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-10T15:32:49Z","updated_at":"2015-06-23T15:37:07Z","closed_at":null,"body":"Lawyers don't want users outside the US to be able to access Reading Room media.\r\n- Figure out GeoIP inside Ruby. (OV is doing it in Apache.)\r\n- Non-US users shouldn't be given the EULA-click-through, since it doesn't do anything for them.\r\n- They should go straight to the details page, but just get the splash image, and an apologetic info box, and no player.\r\n- The `/media/xxx` URLs should also block them."},"comment":{"url":"https://api.github.com/repos/WGBH/AAPB2/issues/comments/114548950","html_url":"https://github.com/WGBH/AAPB2/issues/446#issuecomment-114548950","issue_url":"https://api.github.com/repos/WGBH/AAPB2/issues/446","id":114548950,"user":{"login":"mccalluc","id":730388,"avatar_url":"https://avatars.githubusercontent.com/u/730388?v=3","gravatar_id":"","url":"https://api.github.com/users/mccalluc","html_url":"https://github.com/mccalluc","followers_url":"https://api.github.com/users/mccalluc/followers","following_url":"https://api.github.com/users/mccalluc/following{/other_user}","gists_url":"https://api.github.com/users/mccalluc/gists{/gist_id}","starred_url":"https://api.github.com/users/mccalluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccalluc/subscriptions","organizations_url":"https://api.github.com/users/mccalluc/orgs","repos_url":"https://api.github.com/users/mccalluc/repos","events_url":"https://api.github.com/users/mccalluc/events{/privacy}","received_events_url":"https://api.github.com/users/mccalluc/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T15:37:07Z","updated_at":"2015-06-23T15:37:07Z","body":"I think the code is in good shape, but there are policy questions. If someone claims to be in the US, and blocked, what then? I would argue for just saying \"sorry, try someone else's wireless\". Anything else gets really complicated. How do you know they actually are US? But your call.\r\n\r\nFor reference, here's the current test suite, with some of the odd responses: https://github.com/WGBH/AAPB2/blob/tos-click-through/spec/lib/geo_i_p_country_spec.rb"}}