{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/2802","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2802/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2802/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2802/events","html_url":"https://github.com/CartoDB/cartodb/pull/2802","id":62397736,"number":2802,"title":"Decouple a bit user schemas from organizations","user":{"login":"zenitraM","id":863975,"avatar_url":"https://avatars.githubusercontent.com/u/863975?v=3","gravatar_id":"","url":"https://api.github.com/users/zenitraM","html_url":"https://github.com/zenitraM","followers_url":"https://api.github.com/users/zenitraM/followers","following_url":"https://api.github.com/users/zenitraM/following{/other_user}","gists_url":"https://api.github.com/users/zenitraM/gists{/gist_id}","starred_url":"https://api.github.com/users/zenitraM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenitraM/subscriptions","organizations_url":"https://api.github.com/users/zenitraM/orgs","repos_url":"https://api.github.com/users/zenitraM/repos","events_url":"https://api.github.com/users/zenitraM/events{/privacy}","received_events_url":"https://api.github.com/users/zenitraM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-17T13:31:19Z","updated_at":"2015-03-24T10:20:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CartoDB/cartodb/pulls/2802","html_url":"https://github.com/CartoDB/cartodb/pull/2802","diff_url":"https://github.com/CartoDB/cartodb/pull/2802.diff","patch_url":"https://github.com/CartoDB/cartodb/pull/2802.patch"},"body":"We right now assume that the only way for an user to be on its own, non-public schema is when it's part of an organization.\r\n\r\nHowever, there could be the case of a non-organization user being on its own schema. (most useful on the user/org migration process).\r\nA specific public_user is needed when connecting to a database with a schema named other than \"public\" due to the need for a different search_path.\r\n\r\nSQL API/Windshaft properly read the database_publicuser from Redis and use if it available, but Rails still decides by checking if the user belongs to an org. \r\nThis decouples this behavior"},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/comments/85437311","html_url":"https://github.com/CartoDB/cartodb/pull/2802#issuecomment-85437311","issue_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2802","id":85437311,"user":{"login":"Cartofante","id":5066482,"avatar_url":"https://avatars.githubusercontent.com/u/5066482?v=3","gravatar_id":"","url":"https://api.github.com/users/Cartofante","html_url":"https://github.com/Cartofante","followers_url":"https://api.github.com/users/Cartofante/followers","following_url":"https://api.github.com/users/Cartofante/following{/other_user}","gists_url":"https://api.github.com/users/Cartofante/gists{/gist_id}","starred_url":"https://api.github.com/users/Cartofante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cartofante/subscriptions","organizations_url":"https://api.github.com/users/Cartofante/orgs","repos_url":"https://api.github.com/users/Cartofante/repos","events_url":"https://api.github.com/users/Cartofante/events{/privacy}","received_events_url":"https://api.github.com/users/Cartofante/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T10:20:02Z","updated_at":"2015-03-24T10:20:02Z","body":"Frontend tests were OK :+1: ([details](http://clinker.cartodb.net/jenkins/job/CartoDB-PR-testing/2492/))"}}