{"action":"created","issue":{"url":"https://api.github.com/repos/ushahidi/platform/issues/2858","repository_url":"https://api.github.com/repos/ushahidi/platform","labels_url":"https://api.github.com/repos/ushahidi/platform/issues/2858/labels{/name}","comments_url":"https://api.github.com/repos/ushahidi/platform/issues/2858/comments","events_url":"https://api.github.com/repos/ushahidi/platform/issues/2858/events","html_url":"https://github.com/ushahidi/platform/issues/2858","id":318196411,"number":2858,"title":"HDX User Permission Requirements","user":{"login":"jrtricafort","id":37776843,"avatar_url":"https://avatars1.githubusercontent.com/u/37776843?v=4","gravatar_id":"","url":"https://api.github.com/users/jrtricafort","html_url":"https://github.com/jrtricafort","followers_url":"https://api.github.com/users/jrtricafort/followers","following_url":"https://api.github.com/users/jrtricafort/following{/other_user}","gists_url":"https://api.github.com/users/jrtricafort/gists{/gist_id}","starred_url":"https://api.github.com/users/jrtricafort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrtricafort/subscriptions","organizations_url":"https://api.github.com/users/jrtricafort/orgs","repos_url":"https://api.github.com/users/jrtricafort/repos","events_url":"https://api.github.com/users/jrtricafort/events{/privacy}","received_events_url":"https://api.github.com/users/jrtricafort/received_events","type":"User","site_admin":false},"labels":[{"id":562389513,"url":"https://api.github.com/repos/ushahidi/platform/labels/COMRADES","name":"COMRADES","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"rowasc","id":2434401,"avatar_url":"https://avatars0.githubusercontent.com/u/2434401?v=4","gravatar_id":"","url":"https://api.github.com/users/rowasc","html_url":"https://github.com/rowasc","followers_url":"https://api.github.com/users/rowasc/followers","following_url":"https://api.github.com/users/rowasc/following{/other_user}","gists_url":"https://api.github.com/users/rowasc/gists{/gist_id}","starred_url":"https://api.github.com/users/rowasc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowasc/subscriptions","organizations_url":"https://api.github.com/users/rowasc/orgs","repos_url":"https://api.github.com/users/rowasc/repos","events_url":"https://api.github.com/users/rowasc/events{/privacy}","received_events_url":"https://api.github.com/users/rowasc/received_events","type":"User","site_admin":false},"assignees":[{"login":"rowasc","id":2434401,"avatar_url":"https://avatars0.githubusercontent.com/u/2434401?v=4","gravatar_id":"","url":"https://api.github.com/users/rowasc","html_url":"https://github.com/rowasc","followers_url":"https://api.github.com/users/rowasc/followers","following_url":"https://api.github.com/users/rowasc/following{/other_user}","gists_url":"https://api.github.com/users/rowasc/gists{/gist_id}","starred_url":"https://api.github.com/users/rowasc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowasc/subscriptions","organizations_url":"https://api.github.com/users/rowasc/orgs","repos_url":"https://api.github.com/users/rowasc/repos","events_url":"https://api.github.com/users/rowasc/events{/privacy}","received_events_url":"https://api.github.com/users/rowasc/received_events","type":"User","site_admin":false},{"login":"jrtricafort","id":37776843,"avatar_url":"https://avatars1.githubusercontent.com/u/37776843?v=4","gravatar_id":"","url":"https://api.github.com/users/jrtricafort","html_url":"https://github.com/jrtricafort","followers_url":"https://api.github.com/users/jrtricafort/followers","following_url":"https://api.github.com/users/jrtricafort/following{/other_user}","gists_url":"https://api.github.com/users/jrtricafort/gists{/gist_id}","starred_url":"https://api.github.com/users/jrtricafort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrtricafort/subscriptions","organizations_url":"https://api.github.com/users/jrtricafort/orgs","repos_url":"https://api.github.com/users/jrtricafort/repos","events_url":"https://api.github.com/users/jrtricafort/events{/privacy}","received_events_url":"https://api.github.com/users/jrtricafort/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ushahidi/platform/milestones/48","html_url":"https://github.com/ushahidi/platform/milestone/48","labels_url":"https://api.github.com/repos/ushahidi/platform/milestones/48/labels","id":3172263,"number":48,"title":"Cycle 4: Comrades and HDX [Anna]","description":"","creator":{"login":"caharding","id":1618793,"avatar_url":"https://avatars0.githubusercontent.com/u/1618793?v=4","gravatar_id":"","url":"https://api.github.com/users/caharding","html_url":"https://github.com/caharding","followers_url":"https://api.github.com/users/caharding/followers","following_url":"https://api.github.com/users/caharding/following{/other_user}","gists_url":"https://api.github.com/users/caharding/gists{/gist_id}","starred_url":"https://api.github.com/users/caharding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caharding/subscriptions","organizations_url":"https://api.github.com/users/caharding/orgs","repos_url":"https://api.github.com/users/caharding/repos","events_url":"https://api.github.com/users/caharding/events{/privacy}","received_events_url":"https://api.github.com/users/caharding/received_events","type":"User","site_admin":false},"open_issues":114,"closed_issues":10,"state":"open","created_at":"2018-03-08T17:59:55Z","updated_at":"2018-05-07T14:45:49Z","due_on":"2018-05-21T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-04-26T21:05:16Z","updated_at":"2018-05-07T15:32:25Z","closed_at":null,"author_association":"NONE","body":"In addition to putting the HDX Integration features behind a feature flag (#2815) we should also restrict all HDX-related features to users who have the following permissions:\r\n\r\n+Manage Posts\r\n+Manage Settings\r\n+Bulk Data Import\r\n\r\nThis issue covers both API and Client work, unless otherwise stated.\r\n\r\n\r\n### Test script with HXL feature flag enabled:\r\nWithout an authorization token\r\n- [ ] Request all/any endpoints under /hxl\r\n    - [ ] Should result in `401: unauthorized` \r\nWith an authorization token for a user without the permissions `Manage Posts`, `Manage Settings` or `Bulk Data Import`: \r\n- [ ] Request all/any endpoints under /hxl\r\n    - [ ] Should result in `401: unauthorized` \r\nWith an authorization token with the correct permissions: \r\n- [ ] Requests to /hxl should result in a status code according to the action (200 OK, 201 created, 422 for validation errors, etc)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ushahidi/platform/issues/comments/387104062","html_url":"https://github.com/ushahidi/platform/issues/2858#issuecomment-387104062","issue_url":"https://api.github.com/repos/ushahidi/platform/issues/2858","id":387104062,"user":{"login":"rowasc","id":2434401,"avatar_url":"https://avatars0.githubusercontent.com/u/2434401?v=4","gravatar_id":"","url":"https://api.github.com/users/rowasc","html_url":"https://github.com/rowasc","followers_url":"https://api.github.com/users/rowasc/followers","following_url":"https://api.github.com/users/rowasc/following{/other_user}","gists_url":"https://api.github.com/users/rowasc/gists{/gist_id}","starred_url":"https://api.github.com/users/rowasc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowasc/subscriptions","organizations_url":"https://api.github.com/users/rowasc/orgs","repos_url":"https://api.github.com/users/rowasc/repos","events_url":"https://api.github.com/users/rowasc/events{/privacy}","received_events_url":"https://api.github.com/users/rowasc/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T15:32:25Z","updated_at":"2018-05-07T15:32:25Z","author_association":"CONTRIBUTOR","body":"Moving to `in development`. This will be open/in development while we move forward with other endpoints and can test accordingly."}}
{"actor":{"display_login":"rowasc"}}