{"action":"created","issue":{"url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/issues/294","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/294/labels{/name}","comments_url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/issues/294/comments","events_url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/issues/294/events","html_url":"https://github.com/unicef/etools-partner-reporting-portal/issues/294","id":256294246,"number":294,"title":"IP Reporting: Permission specifications for roles and interpreting them in the frontend and backend API's","user":{"login":"kasfaw","id":11070629,"avatar_url":"https://avatars2.githubusercontent.com/u/11070629?v=4","gravatar_id":"","url":"https://api.github.com/users/kasfaw","html_url":"https://github.com/kasfaw","followers_url":"https://api.github.com/users/kasfaw/followers","following_url":"https://api.github.com/users/kasfaw/following{/other_user}","gists_url":"https://api.github.com/users/kasfaw/gists{/gist_id}","starred_url":"https://api.github.com/users/kasfaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasfaw/subscriptions","organizations_url":"https://api.github.com/users/kasfaw/orgs","repos_url":"https://api.github.com/users/kasfaw/repos","events_url":"https://api.github.com/users/kasfaw/events{/privacy}","received_events_url":"https://api.github.com/users/kasfaw/received_events","type":"User","site_admin":false},"labels":[{"id":567035322,"url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"chachra","id":73096,"avatar_url":"https://avatars0.githubusercontent.com/u/73096?v=4","gravatar_id":"","url":"https://api.github.com/users/chachra","html_url":"https://github.com/chachra","followers_url":"https://api.github.com/users/chachra/followers","following_url":"https://api.github.com/users/chachra/following{/other_user}","gists_url":"https://api.github.com/users/chachra/gists{/gist_id}","starred_url":"https://api.github.com/users/chachra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chachra/subscriptions","organizations_url":"https://api.github.com/users/chachra/orgs","repos_url":"https://api.github.com/users/chachra/repos","events_url":"https://api.github.com/users/chachra/events{/privacy}","received_events_url":"https://api.github.com/users/chachra/received_events","type":"User","site_admin":false},"assignees":[{"login":"chachra","id":73096,"avatar_url":"https://avatars0.githubusercontent.com/u/73096?v=4","gravatar_id":"","url":"https://api.github.com/users/chachra","html_url":"https://github.com/chachra","followers_url":"https://api.github.com/users/chachra/followers","following_url":"https://api.github.com/users/chachra/following{/other_user}","gists_url":"https://api.github.com/users/chachra/gists{/gist_id}","starred_url":"https://api.github.com/users/chachra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chachra/subscriptions","organizations_url":"https://api.github.com/users/chachra/orgs","repos_url":"https://api.github.com/users/chachra/repos","events_url":"https://api.github.com/users/chachra/events{/privacy}","received_events_url":"https://api.github.com/users/chachra/received_events","type":"User","site_admin":false},{"login":"rkrupinski","id":775177,"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}],"milestone":{"url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/milestones/1","html_url":"https://github.com/unicef/etools-partner-reporting-portal/milestone/1","labels_url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/milestones/1/labels","id":2492357,"number":1,"title":"IP reporting in PRP","description":"","creator":{"login":"chachra","id":73096,"avatar_url":"https://avatars0.githubusercontent.com/u/73096?v=4","gravatar_id":"","url":"https://api.github.com/users/chachra","html_url":"https://github.com/chachra","followers_url":"https://api.github.com/users/chachra/followers","following_url":"https://api.github.com/users/chachra/following{/other_user}","gists_url":"https://api.github.com/users/chachra/gists{/gist_id}","starred_url":"https://api.github.com/users/chachra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chachra/subscriptions","organizations_url":"https://api.github.com/users/chachra/orgs","repos_url":"https://api.github.com/users/chachra/repos","events_url":"https://api.github.com/users/chachra/events{/privacy}","received_events_url":"https://api.github.com/users/chachra/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":46,"state":"open","created_at":"2017-05-01T19:36:01Z","updated_at":"2017-10-03T02:59:39Z","due_on":"2017-06-30T07:00:00Z","closed_at":null},"comments":2,"created_at":"2017-09-08T15:42:13Z","updated_at":"2017-10-03T07:43:55Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"IP Authorized Officer -   This is the person we have added in PMP as Authorized Officer (as per PCA). This person should have the permissions to view/add/edit/import/export data and submit reports in PRP\n\nIP Editor -            This person can view/add/edit/import/export reports in PRP but cannot submit reports\n\nIP Viewer -          This person can only view and export data from PRP\n\n\n\nAvailable Actions  | IP Authorized Officer | IP Editor | IP Viewer\n-- | -- | -- | --\n[View Progress Report](https://projects.invisionapp.com/share/RDBE0T04F#/screens/230016132) | x  | x  | x \n[Go to Draft of Progress Report](https://projects.invisionapp.com/share/RDBE0T04F#/screens/230016132)  | x  | x  | x\n[Enter Data for a Progress Report](https://projects.invisionapp.com/share/RDBE0T04F#/screens/230016132)  | x  | x  | \n[Download Annex C Part A PDF of a Submitted Progress Report](https://projects.invisionapp.com/share/RDBE0T04F#/screens/231338351)  | x  | x  | x\n[Show PD/SSFA Details](https://projects.invisionapp.com/share/RDBE0T04F#/screens/231338351)  | x  | x  | x\n[Save a Draft/Sent Back Progress Report](https://projects.invisionapp.com/share/RDBE0T04F#/screens/231338349)  | x  | x  | \n[Download Annex C Part A PDF of a Draft Progress Report](https://projects.invisionapp.com/share/RDBE0T04F#/screens/231677538)  | x  | x  | \n[Upload a Draft/Sent Back Progress Report (when feature available)](https://projects.invisionapp.com/share/RDBE0T04F#/screens/231677538)  | x  | x  | \n[Submit a Draft/Sent Back Progress Report (when feature available)](https://projects.invisionapp.com/share/RDBE0T04F#/screens/231677538)  | x  |   | \n[Change the Calculation Method for a Programme Document](https://github.com/unicef/etools-partner-reporting-portal/issues/214)  | x  | x  |"},"comment":{"url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/issues/comments/333765539","html_url":"https://github.com/unicef/etools-partner-reporting-portal/issues/294#issuecomment-333765539","issue_url":"https://api.github.com/repos/unicef/etools-partner-reporting-portal/issues/294","id":333765539,"user":{"login":"chachra","id":73096,"avatar_url":"https://avatars0.githubusercontent.com/u/73096?v=4","gravatar_id":"","url":"https://api.github.com/users/chachra","html_url":"https://github.com/chachra","followers_url":"https://api.github.com/users/chachra/followers","following_url":"https://api.github.com/users/chachra/following{/other_user}","gists_url":"https://api.github.com/users/chachra/gists{/gist_id}","starred_url":"https://api.github.com/users/chachra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chachra/subscriptions","organizations_url":"https://api.github.com/users/chachra/orgs","repos_url":"https://api.github.com/users/chachra/repos","events_url":"https://api.github.com/users/chachra/events{/privacy}","received_events_url":"https://api.github.com/users/chachra/received_events","type":"User","site_admin":false},"created_at":"2017-10-03T07:43:55Z","updated_at":"2017-10-03T07:43:55Z","author_association":"CONTRIBUTOR","body":"My worry is if it gets complicated over time. If it won't be an issue, then all good I guess... 3 roles and frontend interprets them appropriately. In short-term this can work...\r\n\r\nIn backend usually permission checks (not group checks) are done..... hence to me permissions seemed like the best thing to align on and make sure back/frontend are not interpreting groups differently if it makes sense."}}
{"actor":{"display_login":"chachra"}}