{"action":"created","issue":{"url":"https://api.github.com/repos/City-of-Helsinki/linkedevents-ui/issues/284","repository_url":"https://api.github.com/repos/City-of-Helsinki/linkedevents-ui","labels_url":"https://api.github.com/repos/City-of-Helsinki/linkedevents-ui/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/City-of-Helsinki/linkedevents-ui/issues/284/comments","events_url":"https://api.github.com/repos/City-of-Helsinki/linkedevents-ui/issues/284/events","html_url":"https://github.com/City-of-Helsinki/linkedevents-ui/issues/284","id":290480436,"node_id":"MDU6SXNzdWUyOTA0ODA0MzY=","number":284,"title":"Support admin_organizations and organization_memberships from backend user endpoint","user":{"login":"Rikuoja","id":9367712,"node_id":"MDQ6VXNlcjkzNjc3MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/9367712?v=4","gravatar_id":"","url":"https://api.github.com/users/Rikuoja","html_url":"https://github.com/Rikuoja","followers_url":"https://api.github.com/users/Rikuoja/followers","following_url":"https://api.github.com/users/Rikuoja/following{/other_user}","gists_url":"https://api.github.com/users/Rikuoja/gists{/gist_id}","starred_url":"https://api.github.com/users/Rikuoja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rikuoja/subscriptions","organizations_url":"https://api.github.com/users/Rikuoja/orgs","repos_url":"https://api.github.com/users/Rikuoja/repos","events_url":"https://api.github.com/users/Rikuoja/events{/privacy}","received_events_url":"https://api.github.com/users/Rikuoja/received_events","type":"User","site_admin":false},"labels":[{"id":591481338,"node_id":"MDU6TGFiZWw1OTE0ODEzMzg=","url":"https://api.github.com/repos/City-of-Helsinki/linkedevents-ui/labels/Next%20sprint","name":"Next sprint","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-22T14:18:22Z","updated_at":"2018-11-08T12:49:45Z","closed_at":null,"author_association":"MEMBER","body":"The backend currently uses `django-orghierarchy` which includes multiple `admin_organizations` and the possibility to have non-admin `organization_memberships` for a user. Therefore, we want to understand these new fields in the `user` endpoint."},"comment":{"url":"https://api.github.com/repos/City-of-Helsinki/linkedevents-ui/issues/comments/436983108","html_url":"https://github.com/City-of-Helsinki/linkedevents-ui/issues/284#issuecomment-436983108","issue_url":"https://api.github.com/repos/City-of-Helsinki/linkedevents-ui/issues/284","id":436983108,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjk4MzEwOA==","user":{"login":"Rikuoja","id":9367712,"node_id":"MDQ6VXNlcjkzNjc3MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/9367712?v=4","gravatar_id":"","url":"https://api.github.com/users/Rikuoja","html_url":"https://github.com/Rikuoja","followers_url":"https://api.github.com/users/Rikuoja/followers","following_url":"https://api.github.com/users/Rikuoja/following{/other_user}","gists_url":"https://api.github.com/users/Rikuoja/gists{/gist_id}","starred_url":"https://api.github.com/users/Rikuoja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rikuoja/subscriptions","organizations_url":"https://api.github.com/users/Rikuoja/orgs","repos_url":"https://api.github.com/users/Rikuoja/repos","events_url":"https://api.github.com/users/Rikuoja/events{/privacy}","received_events_url":"https://api.github.com/users/Rikuoja/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T12:49:45Z","updated_at":"2018-11-08T12:49:45Z","author_association":"MEMBER","body":"So, this means the UI knows which events the user may edit (admin), and which events the user may edit as a draft (member).\r\n\r\nHow we display the event list, then, is another issue. Do we display them all mixed in the event list on the main page?\r\n\r\nThis would mean the UI should display the user which organization is the publisher of each event."}}
{"actor":{"display_login":"Rikuoja"}}