{"action":"created","issue":{"url":"https://api.github.com/repos/instedd/planwise/issues/125","repository_url":"https://api.github.com/repos/instedd/planwise","labels_url":"https://api.github.com/repos/instedd/planwise/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/instedd/planwise/issues/125/comments","events_url":"https://api.github.com/repos/instedd/planwise/issues/125/events","html_url":"https://github.com/instedd/planwise/issues/125","id":169212774,"number":125,"title":"Support multi-tenancy","user":{"login":"ggiraldez","id":733591,"avatar_url":"https://avatars.githubusercontent.com/u/733591?v=3","gravatar_id":"","url":"https://api.github.com/users/ggiraldez","html_url":"https://github.com/ggiraldez","followers_url":"https://api.github.com/users/ggiraldez/followers","following_url":"https://api.github.com/users/ggiraldez/following{/other_user}","gists_url":"https://api.github.com/users/ggiraldez/gists{/gist_id}","starred_url":"https://api.github.com/users/ggiraldez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggiraldez/subscriptions","organizations_url":"https://api.github.com/users/ggiraldez/orgs","repos_url":"https://api.github.com/users/ggiraldez/repos","events_url":"https://api.github.com/users/ggiraldez/events{/privacy}","received_events_url":"https://api.github.com/users/ggiraldez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/instedd/planwise/labels/major","name":"major","color":"f9d0c4"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/instedd/planwise/milestones/5","html_url":"https://github.com/instedd/planwise/milestones/Release%200.5","labels_url":"https://api.github.com/repos/instedd/planwise/milestones/5/labels","id":1880923,"number":5,"title":"Release 0.5","description":"The \"Fast\" Release\r\n\r\nCompute unstatisfied demand by subtracting capacity information from the filtered facilities from the demographics layer.\r\nBy this release we should decide whether we compute that information from polygons or raster layers.\r\n","creator":{"login":"ggiraldez","id":733591,"avatar_url":"https://avatars.githubusercontent.com/u/733591?v=3","gravatar_id":"","url":"https://api.github.com/users/ggiraldez","html_url":"https://github.com/ggiraldez","followers_url":"https://api.github.com/users/ggiraldez/followers","following_url":"https://api.github.com/users/ggiraldez/following{/other_user}","gists_url":"https://api.github.com/users/ggiraldez/gists{/gist_id}","starred_url":"https://api.github.com/users/ggiraldez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggiraldez/subscriptions","organizations_url":"https://api.github.com/users/ggiraldez/orgs","repos_url":"https://api.github.com/users/ggiraldez/repos","events_url":"https://api.github.com/users/ggiraldez/events{/privacy}","received_events_url":"https://api.github.com/users/ggiraldez/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":28,"state":"open","created_at":"2016-07-13T13:59:34Z","updated_at":"2016-08-26T18:15:41Z","due_on":"2016-08-26T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-08-03T19:27:12Z","updated_at":"2016-08-26T18:15:41Z","closed_at":"2016-08-26T18:15:41Z","body":"This is an umbrella ticket for multi-tenancy support in Planwise. A rough specification follows:\r\n\r\n## Data ownership\r\n\r\n- Projects should be owned by a single user.\r\n- By default, users will only see and have access to their own projects.\r\n- The system can support multiple datasets, eg. multiple sets of facilities.\r\n- Datasets should be owned by a single user.\r\n- New datasets are created by importing a collection from Resourcemap\r\n- (For now) Datasets cannot be changed/updated once imported\r\n- Datasets have an identifying name, a \"source\" Resourcemap collection and field mapping information; this will allow automatically sync'ing the dataset from Resourcemap in the future\r\n- Projects use one dataset, selected at project's creation time\r\n- Datasets cannot be deleted if they are being referenced in one or more projects\r\n\r\n## Project sharing\r\n\r\n- Projects can be shared with other users via a \"connect link\"\r\n- Once a user opens the \"connect link\" she will have access to the shared project and the project will appear in her projects list\r\n- Projects can only be shared for read-only access; only the owner is able to alter the filters/scenarios\r\n- A user can choose to unfollow a shared project which will remove it from her list\r\n- The owner user can list users who have access to the project and revoke access individually\r\n- Project sharing confers read access to the associated dataset in the context of the project only (ie. the receiving user cannot create a new project with the shared project dataset)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/instedd/planwise/issues/comments/242810867","html_url":"https://github.com/instedd/planwise/issues/125#issuecomment-242810867","issue_url":"https://api.github.com/repos/instedd/planwise/issues/125","id":242810867,"user":{"login":"ggiraldez","id":733591,"avatar_url":"https://avatars.githubusercontent.com/u/733591?v=3","gravatar_id":"","url":"https://api.github.com/users/ggiraldez","html_url":"https://github.com/ggiraldez","followers_url":"https://api.github.com/users/ggiraldez/followers","following_url":"https://api.github.com/users/ggiraldez/following{/other_user}","gists_url":"https://api.github.com/users/ggiraldez/gists{/gist_id}","starred_url":"https://api.github.com/users/ggiraldez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggiraldez/subscriptions","organizations_url":"https://api.github.com/users/ggiraldez/orgs","repos_url":"https://api.github.com/users/ggiraldez/repos","events_url":"https://api.github.com/users/ggiraldez/events{/privacy}","received_events_url":"https://api.github.com/users/ggiraldez/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T18:15:41Z","updated_at":"2016-08-26T18:15:41Z","body":"Closed by #179. The project sharing parts are now in #155 and #156.\r\n"}}
{"actor":{"display_login":"ggiraldez"}}