{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments/75500794","id":75500794,"diff_hunk":"@@ -125,8 +132,9 @@ angular.module('OpenSlidesApp.users', [])\n                     if (this.groups_id) {\n                         allGroups = this.groups_id.slice(0);\n                     }\n-                    // Add registered group\n-                    allGroups.push(2);\n+                    if (allGroups.length === 0) {\n+                        allGroups.push(1); // add defualt group","path":"openslides/users/static/js/users/base.js","position":34,"original_position":34,"commit_id":"0b8e14dc6588f91ed3ec4c87fc99a6542e9cae69","original_commit_id":"0b8e14dc6588f91ed3ec4c87fc99a6542e9cae69","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},"body":"Typo.","created_at":"2016-08-19T15:22:10Z","updated_at":"2016-08-19T15:22:10Z","html_url":"https://github.com/OpenSlides/OpenSlides/pull/2260#discussion_r75500794","pull_request_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2260","_links":{"self":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments/75500794"},"html":{"href":"https://github.com/OpenSlides/OpenSlides/pull/2260#discussion_r75500794"},"pull_request":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2260"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2260","id":80610762,"html_url":"https://github.com/OpenSlides/OpenSlides/pull/2260","diff_url":"https://github.com/OpenSlides/OpenSlides/pull/2260.diff","patch_url":"https://github.com/OpenSlides/OpenSlides/pull/2260.patch","issue_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2260","number":2260,"state":"open","locked":false,"title":"New matrix interface for group editing (closes #435)","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},"body":"I've implemented a new interface for group-permission-relations in a matrix-style. I also added the hint about the special groups (This closes issue #2215 ).\r\n\r\nThere are two issues left:\r\n\r\n1. ~~When editing a name or permission, the first try fails. Next times all updates and changes are working perfectly. For testing: If you try to change a name, the first output on the console is the group passed to `Group.save`, the second output is the returned group from `Group.save`.~~\r\n2. ~~There is a workaround for `$scope.groups`: When logging `$scope`, there is the member `groups` with all data filled in. But `$scope.groups` is undefined. Now the data is pulled from REST, but it takes some time. Why is `$scope.groups` undefined? For testing: If you load the site, the first output is `$scope`, the second is `$scope.groups`.~~","created_at":"2016-08-09T12:24:14Z","updated_at":"2016-08-19T15:22:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fcf63404c17ef22cf5cef8bdc40e1e26135058fc","assignee":{"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},"assignees":[{"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}],"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":92,"state":"open","created_at":"2015-09-04T21:00:55Z","updated_at":"2016-08-19T15:16:24Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2260/commits","review_comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2260/comments","review_comment_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2260/comments","statuses_url":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/0b8e14dc6588f91ed3ec4c87fc99a6542e9cae69","head":{"label":"FinnStutzenstein:Feature435","ref":"Feature435","sha":"0b8e14dc6588f91ed3ec4c87fc99a6542e9cae69","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},"repo":{"id":64663189,"name":"OpenSlides","full_name":"FinnStutzenstein/OpenSlides","owner":{"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},"private":false,"html_url":"https://github.com/FinnStutzenstein/OpenSlides","description":"Presentation and assembly system","fork":true,"url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides","forks_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/forks","keys_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/teams","hooks_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/hooks","issue_events_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/issues/events{/number}","events_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/events","assignees_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/assignees{/user}","branches_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/branches{/branch}","tags_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/tags","blobs_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/statuses/{sha}","languages_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/languages","stargazers_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/stargazers","contributors_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/contributors","subscribers_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/subscribers","subscription_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/subscription","commits_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/issues/comments{/number}","contents_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/contents/{+path}","compare_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/merges","archive_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/downloads","issues_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/issues{/number}","pulls_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/pulls{/number}","milestones_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/milestones{/number}","notifications_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/labels{/name}","releases_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/releases{/id}","deployments_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/deployments","created_at":"2016-08-01T11:58:39Z","updated_at":"2016-08-01T11:58:41Z","pushed_at":"2016-08-19T14:16:57Z","git_url":"git://github.com/FinnStutzenstein/OpenSlides.git","ssh_url":"git@github.com:FinnStutzenstein/OpenSlides.git","clone_url":"https://github.com/FinnStutzenstein/OpenSlides.git","svn_url":"https://github.com/FinnStutzenstein/OpenSlides","homepage":"http://openslides.org","size":37843,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenSlides:master","ref":"master","sha":"08c734f1a360da1b9222c4345d223a69b15c2225","user":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"repo":{"id":5250779,"name":"OpenSlides","full_name":"OpenSlides/OpenSlides","owner":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSlides/OpenSlides","description":"Presentation and assembly system","fork":false,"url":"https://api.github.com/repos/OpenSlides/OpenSlides","forks_url":"https://api.github.com/repos/OpenSlides/OpenSlides/forks","keys_url":"https://api.github.com/repos/OpenSlides/OpenSlides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSlides/OpenSlides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSlides/OpenSlides/teams","hooks_url":"https://api.github.com/repos/OpenSlides/OpenSlides/hooks","issue_events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/events","assignees_url":"https://api.github.com/repos/OpenSlides/OpenSlides/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSlides/OpenSlides/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSlides/OpenSlides/tags","blobs_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSlides/OpenSlides/languages","stargazers_url":"https://api.github.com/repos/OpenSlides/OpenSlides/stargazers","contributors_url":"https://api.github.com/repos/OpenSlides/OpenSlides/contributors","subscribers_url":"https://api.github.com/repos/OpenSlides/OpenSlides/subscribers","subscription_url":"https://api.github.com/repos/OpenSlides/OpenSlides/subscription","commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSlides/OpenSlides/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSlides/OpenSlides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSlides/OpenSlides/merges","archive_url":"https://api.github.com/repos/OpenSlides/OpenSlides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSlides/OpenSlides/downloads","issues_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSlides/OpenSlides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSlides/OpenSlides/labels{/name}","releases_url":"https://api.github.com/repos/OpenSlides/OpenSlides/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/deployments","created_at":"2012-07-31T20:04:39Z","updated_at":"2016-07-28T17:31:56Z","pushed_at":"2016-08-19T15:16:24Z","git_url":"git://github.com/OpenSlides/OpenSlides.git","ssh_url":"git@github.com:OpenSlides/OpenSlides.git","clone_url":"https://github.com/OpenSlides/OpenSlides.git","svn_url":"https://github.com/OpenSlides/OpenSlides","homepage":"http://openslides.org","size":38894,"stargazers_count":120,"watchers_count":120,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":162,"forks":45,"open_issues":162,"watchers":120,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2260"},"html":{"href":"https://github.com/OpenSlides/OpenSlides/pull/2260"},"issue":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2260"},"comments":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2260/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2260/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2260/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/0b8e14dc6588f91ed3ec4c87fc99a6542e9cae69"}}}}
{"actor":{"display_login":"normanjaeckel"}}