{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2334","repository_url":"https://api.github.com/repos/OpenSlides/OpenSlides","labels_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2334/labels{/name}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2334/comments","events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2334/events","html_url":"https://github.com/OpenSlides/OpenSlides/pull/2334","id":173957672,"number":2334,"title":"Migration for new permission matrix (fixes #2315)","user":{"login":"FinnStutzenstein","id":8439581,"avatar_url":"https://avatars.githubusercontent.com/u/8439581?v=3","gravatar_id":"","url":"https://api.github.com/users/FinnStutzenstein","html_url":"https://github.com/FinnStutzenstein","followers_url":"https://api.github.com/users/FinnStutzenstein/followers","following_url":"https://api.github.com/users/FinnStutzenstein/following{/other_user}","gists_url":"https://api.github.com/users/FinnStutzenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/FinnStutzenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinnStutzenstein/subscriptions","organizations_url":"https://api.github.com/users/FinnStutzenstein/orgs","repos_url":"https://api.github.com/users/FinnStutzenstein/repos","events_url":"https://api.github.com/users/FinnStutzenstein/events{/privacy}","received_events_url":"https://api.github.com/users/FinnStutzenstein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"normanjaeckel","id":2073844,"avatar_url":"https://avatars.githubusercontent.com/u/2073844?v=3","gravatar_id":"","url":"https://api.github.com/users/normanjaeckel","html_url":"https://github.com/normanjaeckel","followers_url":"https://api.github.com/users/normanjaeckel/followers","following_url":"https://api.github.com/users/normanjaeckel/following{/other_user}","gists_url":"https://api.github.com/users/normanjaeckel/gists{/gist_id}","starred_url":"https://api.github.com/users/normanjaeckel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanjaeckel/subscriptions","organizations_url":"https://api.github.com/users/normanjaeckel/orgs","repos_url":"https://api.github.com/users/normanjaeckel/repos","events_url":"https://api.github.com/users/normanjaeckel/events{/privacy}","received_events_url":"https://api.github.com/users/normanjaeckel/received_events","type":"User","site_admin":false},"assignees":[{"login":"normanjaeckel","id":2073844,"avatar_url":"https://avatars.githubusercontent.com/u/2073844?v=3","gravatar_id":"","url":"https://api.github.com/users/normanjaeckel","html_url":"https://github.com/normanjaeckel","followers_url":"https://api.github.com/users/normanjaeckel/followers","following_url":"https://api.github.com/users/normanjaeckel/following{/other_user}","gists_url":"https://api.github.com/users/normanjaeckel/gists{/gist_id}","starred_url":"https://api.github.com/users/normanjaeckel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanjaeckel/subscriptions","organizations_url":"https://api.github.com/users/normanjaeckel/orgs","repos_url":"https://api.github.com/users/normanjaeckel/repos","events_url":"https://api.github.com/users/normanjaeckel/events{/privacy}","received_events_url":"https://api.github.com/users/normanjaeckel/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones/21","html_url":"https://github.com/OpenSlides/OpenSlides/milestones/2.1","labels_url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones/21/labels","id":1291312,"number":21,"title":"2.1","description":"","creator":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"open_issues":113,"closed_issues":132,"state":"open","created_at":"2015-09-04T21:00:55Z","updated_at":"2016-08-30T12:01:30Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-08-30T08:22:21Z","updated_at":"2016-08-30T12:24:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2334","html_url":"https://github.com/OpenSlides/OpenSlides/pull/2334","diff_url":"https://github.com/OpenSlides/OpenSlides/pull/2334.diff","patch_url":"https://github.com/OpenSlides/OpenSlides/pull/2334.patch"},"body":"I've implemented @normanjaeckel suggestion for a migration. Additionally some changes in `create_or_reset_admin_user`: If the group with `pk=3` is not found, the group `Staff` will be created. Also the two important permissions for managing (`users.can_see_name` and `users.can_manage`) are added."},"comment":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/comments/243421809","html_url":"https://github.com/OpenSlides/OpenSlides/pull/2334#issuecomment-243421809","issue_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2334","id":243421809,"user":{"login":"normanjaeckel","id":2073844,"avatar_url":"https://avatars.githubusercontent.com/u/2073844?v=3","gravatar_id":"","url":"https://api.github.com/users/normanjaeckel","html_url":"https://github.com/normanjaeckel","followers_url":"https://api.github.com/users/normanjaeckel/followers","following_url":"https://api.github.com/users/normanjaeckel/following{/other_user}","gists_url":"https://api.github.com/users/normanjaeckel/gists{/gist_id}","starred_url":"https://api.github.com/users/normanjaeckel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanjaeckel/subscriptions","organizations_url":"https://api.github.com/users/normanjaeckel/orgs","repos_url":"https://api.github.com/users/normanjaeckel/repos","events_url":"https://api.github.com/users/normanjaeckel/events{/privacy}","received_events_url":"https://api.github.com/users/normanjaeckel/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T12:24:46Z","updated_at":"2016-08-30T12:24:46Z","body":"Needs more tests but looks good."}}
{"actor":{"display_login":"normanjaeckel"}}