{"action":"created","issue":{"url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1040","repository_url":"https://api.github.com/repos/Coursemology/coursemology2","labels_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1040/labels{/name}","comments_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1040/comments","events_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1040/events","html_url":"https://github.com/Coursemology/coursemology2/issues/1040","id":151937439,"number":1040,"title":"System admin cannot creates group in a course that he/she is not in","user":{"login":"weiqingtoh","id":4353853,"avatar_url":"https://avatars.githubusercontent.com/u/4353853?v=3","gravatar_id":"","url":"https://api.github.com/users/weiqingtoh","html_url":"https://github.com/weiqingtoh","followers_url":"https://api.github.com/users/weiqingtoh/followers","following_url":"https://api.github.com/users/weiqingtoh/following{/other_user}","gists_url":"https://api.github.com/users/weiqingtoh/gists{/gist_id}","starred_url":"https://api.github.com/users/weiqingtoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiqingtoh/subscriptions","organizations_url":"https://api.github.com/users/weiqingtoh/orgs","repos_url":"https://api.github.com/users/weiqingtoh/repos","events_url":"https://api.github.com/users/weiqingtoh/events{/privacy}","received_events_url":"https://api.github.com/users/weiqingtoh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Coursemology/coursemology2/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"weiqingtoh","id":4353853,"avatar_url":"https://avatars.githubusercontent.com/u/4353853?v=3","gravatar_id":"","url":"https://api.github.com/users/weiqingtoh","html_url":"https://github.com/weiqingtoh","followers_url":"https://api.github.com/users/weiqingtoh/followers","following_url":"https://api.github.com/users/weiqingtoh/following{/other_user}","gists_url":"https://api.github.com/users/weiqingtoh/gists{/gist_id}","starred_url":"https://api.github.com/users/weiqingtoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiqingtoh/subscriptions","organizations_url":"https://api.github.com/users/weiqingtoh/orgs","repos_url":"https://api.github.com/users/weiqingtoh/repos","events_url":"https://api.github.com/users/weiqingtoh/events{/privacy}","received_events_url":"https://api.github.com/users/weiqingtoh/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-04-29T18:19:13Z","updated_at":"2016-04-30T05:47:07Z","closed_at":null,"body":"When the system admin is not in a course, creating a group throws an error. \r\n\r\nWhat should be the ideal behaviour in such cases, where the `course_user` of the creator doesn't exist? Set the group owner to the course_owner? "},"comment":{"url":"https://api.github.com/repos/Coursemology/coursemology2/issues/comments/215940314","html_url":"https://github.com/Coursemology/coursemology2/issues/1040#issuecomment-215940314","issue_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1040","id":215940314,"user":{"login":"lowjoel","id":2505070,"avatar_url":"https://avatars.githubusercontent.com/u/2505070?v=3","gravatar_id":"","url":"https://api.github.com/users/lowjoel","html_url":"https://github.com/lowjoel","followers_url":"https://api.github.com/users/lowjoel/followers","following_url":"https://api.github.com/users/lowjoel/following{/other_user}","gists_url":"https://api.github.com/users/lowjoel/gists{/gist_id}","starred_url":"https://api.github.com/users/lowjoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowjoel/subscriptions","organizations_url":"https://api.github.com/users/lowjoel/orgs","repos_url":"https://api.github.com/users/lowjoel/repos","events_url":"https://api.github.com/users/lowjoel/events{/privacy}","received_events_url":"https://api.github.com/users/lowjoel/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T05:47:07Z","updated_at":"2016-04-30T05:47:07Z","body":"I think option 2 makes more sense. Someone needs to own the group...\r\n\r\nHow about groups without managers? Can a manager delete the last manager?"}}