{"action":"closed","issue":{"url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/issues/640","repository_url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal","labels_url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/issues/640/comments","events_url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/issues/640/events","html_url":"https://github.com/unicef/etools-partner-reporting-portal/issues/640","id":319374157,"node_id":"MDU6SXNzdWUzMTkzNzQxNTc=","number":640,"title":"Should not be able to add the wrong Partner to a Project","user":{"login":"sethgold8","id":31295242,"node_id":"MDQ6VXNlcjMxMjk1MjQy","avatar_url":"https://avatars1.githubusercontent.com/u/31295242?v=4","gravatar_id":"","url":"https://api.github.com/users/sethgold8","html_url":"https://github.com/sethgold8","followers_url":"https://api.github.com/users/sethgold8/followers","following_url":"https://api.github.com/users/sethgold8/following{/other_user}","gists_url":"https://api.github.com/users/sethgold8/gists{/gist_id}","starred_url":"https://api.github.com/users/sethgold8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethgold8/subscriptions","organizations_url":"https://api.github.com/users/sethgold8/orgs","repos_url":"https://api.github.com/users/sethgold8/repos","events_url":"https://api.github.com/users/sethgold8/events{/privacy}","received_events_url":"https://api.github.com/users/sethgold8/received_events","type":"User","site_admin":false},"labels":[{"id":805754227,"node_id":"MDU6TGFiZWw4MDU3NTQyMjc=","url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/labels/cluster%20reporting","name":"cluster reporting","color":"0e8a16","default":false},{"id":601406949,"node_id":"MDU6TGFiZWw2MDE0MDY5NDk=","url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/labels/delivered","name":"delivered","color":"00e600","default":false}],"state":"closed","locked":false,"assignee":{"login":"dfryta","id":778559,"node_id":"MDQ6VXNlcjc3ODU1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/778559?v=4","gravatar_id":"","url":"https://api.github.com/users/dfryta","html_url":"https://github.com/dfryta","followers_url":"https://api.github.com/users/dfryta/followers","following_url":"https://api.github.com/users/dfryta/following{/other_user}","gists_url":"https://api.github.com/users/dfryta/gists{/gist_id}","starred_url":"https://api.github.com/users/dfryta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfryta/subscriptions","organizations_url":"https://api.github.com/users/dfryta/orgs","repos_url":"https://api.github.com/users/dfryta/repos","events_url":"https://api.github.com/users/dfryta/events{/privacy}","received_events_url":"https://api.github.com/users/dfryta/received_events","type":"User","site_admin":false},"assignees":[{"login":"rkrupinski","id":775177,"node_id":"MDQ6VXNlcjc3NTE3Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/775177?v=4","gravatar_id":"","url":"https://api.github.com/users/rkrupinski","html_url":"https://github.com/rkrupinski","followers_url":"https://api.github.com/users/rkrupinski/followers","following_url":"https://api.github.com/users/rkrupinski/following{/other_user}","gists_url":"https://api.github.com/users/rkrupinski/gists{/gist_id}","starred_url":"https://api.github.com/users/rkrupinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkrupinski/subscriptions","organizations_url":"https://api.github.com/users/rkrupinski/orgs","repos_url":"https://api.github.com/users/rkrupinski/repos","events_url":"https://api.github.com/users/rkrupinski/events{/privacy}","received_events_url":"https://api.github.com/users/rkrupinski/received_events","type":"User","site_admin":false},{"login":"dfryta","id":778559,"node_id":"MDQ6VXNlcjc3ODU1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/778559?v=4","gravatar_id":"","url":"https://api.github.com/users/dfryta","html_url":"https://github.com/dfryta","followers_url":"https://api.github.com/users/dfryta/followers","following_url":"https://api.github.com/users/dfryta/following{/other_user}","gists_url":"https://api.github.com/users/dfryta/gists{/gist_id}","starred_url":"https://api.github.com/users/dfryta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfryta/subscriptions","organizations_url":"https://api.github.com/users/dfryta/orgs","repos_url":"https://api.github.com/users/dfryta/repos","events_url":"https://api.github.com/users/dfryta/events{/privacy}","received_events_url":"https://api.github.com/users/dfryta/received_events","type":"User","site_admin":false},{"login":"momimomo","id":21158922,"node_id":"MDQ6VXNlcjIxMTU4OTIy","avatar_url":"https://avatars3.githubusercontent.com/u/21158922?v=4","gravatar_id":"","url":"https://api.github.com/users/momimomo","html_url":"https://github.com/momimomo","followers_url":"https://api.github.com/users/momimomo/followers","following_url":"https://api.github.com/users/momimomo/following{/other_user}","gists_url":"https://api.github.com/users/momimomo/gists{/gist_id}","starred_url":"https://api.github.com/users/momimomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/momimomo/subscriptions","organizations_url":"https://api.github.com/users/momimomo/orgs","repos_url":"https://api.github.com/users/momimomo/repos","events_url":"https://api.github.com/users/momimomo/events{/privacy}","received_events_url":"https://api.github.com/users/momimomo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-05-02T00:40:13Z","updated_at":"2018-06-28T18:41:26Z","closed_at":"2018-06-28T18:41:26Z","author_association":"CONTRIBUTOR","body":"**Technical Notes**\n#Frontend - pass in PRP partner ID back to backend when getting list of projects.\n\n#Backend - Call OCHA as per usual (don't think they support partner filtering and that is fine, we'll do the filtering in-memory in PRP), when response comes back filter out projects that belong to the PRP partner id and return response. Filtering will be done for the ocha partner id in PRP. If ocha partner id is not set for this partner id sent by frontend, then well no need to call OCHA even, return a \"blank response\" (no projects).\n\n\n**Requirement**\n\n- [ ] Acting as an IMO:\n\n After a partner is selected, only show projects that the partner has registered to them in  OCHA's OPS/Projects Module pertaining to that workspace.\n\n![Screen Shot 2018-05-01 at 5.41.00 PM.png](https://waffleio-direct-uploads-production.s3.amazonaws.com/uploads/59f1189df815e200161f654a/125516c66e82c728ace21e0d46db978826878de9bce1b057e40fa0c5710b77266454f26b7191a37df1162a4f5f5f5ecc3c4a4356bcbbd671f3e57862804e0ee5823b5777933d12aab1d11eba01ba29894a82b0bb884ad2f42f67b6d5db1063474f4dcbed5727a19e41c95df44ee34f54a31b346ae5752431.png)\n\n- [ ] Acting as a partner: when you are adding Projects, only Only show projects that the partner has registered to them in  OCHA's OPS/Projects Module pertaining to that workspace."}}
{"actor":{"display_login":"sethgold8"}}