{"action":"created","comment":{"url":"https://api.github.com/repos/ConstellationApps/Base/pulls/comments/111282641","pull_request_review_id":32517590,"id":111282641,"diff_hunk":"@@ -57,3 +62,52 @@ def login_view(request):\n def logout_view(request):\n     logout(request)\n     return redirect(\"Login\")\n+\n+\n+@method_decorator(staff_member_required, name='dispatch')\n+class manage_groups(View):\n+\n+    def get(self, request):\n+        \"\"\"Show a list of the supplemental groups\"\"\"\n+        template_settings_object = GlobalTemplateSettings(allowBackground=True)\n+        template_settings = template_settings_object.settings_dict()\n+\n+        existing_groups = LocalGroupACLEntry.objects.values_list('group',\n+                                                                 flat=True)\n+        existing_groups = Group.objects.filter(pk__in=set(existing_groups))\n+\n+        all_groups = Group.objects.all()\n+\n+        return render(request, 'constellation_base/group_list.html', {\n+            'template_settings': template_settings,\n+            'existing_groups': existing_groups,\n+            'all_groups': all_groups\n+        })\n+\n+    def post(self, request):\n+\n+        with transaction.atomic():","path":"constellation_base/views.py","position":46,"original_position":46,"commit_id":"706a71b255fa1220332b34f2d08d56c563031b98","original_commit_id":"8654f155c22ff09b3353c7b71fdb1b64ee2df9d9","user":{"login":"the-maldridge","id":2321814,"avatar_url":"https://avatars0.githubusercontent.com/u/2321814?v=3","gravatar_id":"","url":"https://api.github.com/users/the-maldridge","html_url":"https://github.com/the-maldridge","followers_url":"https://api.github.com/users/the-maldridge/followers","following_url":"https://api.github.com/users/the-maldridge/following{/other_user}","gists_url":"https://api.github.com/users/the-maldridge/gists{/gist_id}","starred_url":"https://api.github.com/users/the-maldridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-maldridge/subscriptions","organizations_url":"https://api.github.com/users/the-maldridge/orgs","repos_url":"https://api.github.com/users/the-maldridge/repos","events_url":"https://api.github.com/users/the-maldridge/events{/privacy}","received_events_url":"https://api.github.com/users/the-maldridge/received_events","type":"User","site_admin":false},"body":"Strictly no since the default behavior is sufficient.","created_at":"2017-04-12T23:27:23Z","updated_at":"2017-04-12T23:27:23Z","html_url":"https://github.com/ConstellationApps/Base/pull/8#discussion_r111282641","pull_request_url":"https://api.github.com/repos/ConstellationApps/Base/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/ConstellationApps/Base/pulls/comments/111282641"},"html":{"href":"https://github.com/ConstellationApps/Base/pull/8#discussion_r111282641"},"pull_request":{"href":"https://api.github.com/repos/ConstellationApps/Base/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/ConstellationApps/Base/pulls/8","id":114722887,"html_url":"https://github.com/ConstellationApps/Base/pull/8","diff_url":"https://github.com/ConstellationApps/Base/pull/8.diff","patch_url":"https://github.com/ConstellationApps/Base/pull/8.patch","issue_url":"https://api.github.com/repos/ConstellationApps/Base/issues/8","number":8,"state":"open","locked":false,"title":"Add support for supplemental Groups","user":{"login":"the-maldridge","id":2321814,"avatar_url":"https://avatars0.githubusercontent.com/u/2321814?v=3","gravatar_id":"","url":"https://api.github.com/users/the-maldridge","html_url":"https://github.com/the-maldridge","followers_url":"https://api.github.com/users/the-maldridge/followers","following_url":"https://api.github.com/users/the-maldridge/following{/other_user}","gists_url":"https://api.github.com/users/the-maldridge/gists{/gist_id}","starred_url":"https://api.github.com/users/the-maldridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-maldridge/subscriptions","organizations_url":"https://api.github.com/users/the-maldridge/orgs","repos_url":"https://api.github.com/users/the-maldridge/repos","events_url":"https://api.github.com/users/the-maldridge/events{/privacy}","received_events_url":"https://api.github.com/users/the-maldridge/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-07T00:32:51Z","updated_at":"2017-04-12T23:27:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9da132cd369bf73ad515b86f9cc9cec7156e9cb7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ConstellationApps/Base/pulls/8/commits","review_comments_url":"https://api.github.com/repos/ConstellationApps/Base/pulls/8/comments","review_comment_url":"https://api.github.com/repos/ConstellationApps/Base/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ConstellationApps/Base/issues/8/comments","statuses_url":"https://api.github.com/repos/ConstellationApps/Base/statuses/706a71b255fa1220332b34f2d08d56c563031b98","head":{"label":"ConstellationApps:supplemental-groups","ref":"supplemental-groups","sha":"706a71b255fa1220332b34f2d08d56c563031b98","user":{"login":"ConstellationApps","id":23206873,"avatar_url":"https://avatars0.githubusercontent.com/u/23206873?v=3","gravatar_id":"","url":"https://api.github.com/users/ConstellationApps","html_url":"https://github.com/ConstellationApps","followers_url":"https://api.github.com/users/ConstellationApps/followers","following_url":"https://api.github.com/users/ConstellationApps/following{/other_user}","gists_url":"https://api.github.com/users/ConstellationApps/gists{/gist_id}","starred_url":"https://api.github.com/users/ConstellationApps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConstellationApps/subscriptions","organizations_url":"https://api.github.com/users/ConstellationApps/orgs","repos_url":"https://api.github.com/users/ConstellationApps/repos","events_url":"https://api.github.com/users/ConstellationApps/events{/privacy}","received_events_url":"https://api.github.com/users/ConstellationApps/received_events","type":"Organization","site_admin":false},"repo":{"id":73025616,"name":"Base","full_name":"ConstellationApps/Base","owner":{"login":"ConstellationApps","id":23206873,"avatar_url":"https://avatars0.githubusercontent.com/u/23206873?v=3","gravatar_id":"","url":"https://api.github.com/users/ConstellationApps","html_url":"https://github.com/ConstellationApps","followers_url":"https://api.github.com/users/ConstellationApps/followers","following_url":"https://api.github.com/users/ConstellationApps/following{/other_user}","gists_url":"https://api.github.com/users/ConstellationApps/gists{/gist_id}","starred_url":"https://api.github.com/users/ConstellationApps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConstellationApps/subscriptions","organizations_url":"https://api.github.com/users/ConstellationApps/orgs","repos_url":"https://api.github.com/users/ConstellationApps/repos","events_url":"https://api.github.com/users/ConstellationApps/events{/privacy}","received_events_url":"https://api.github.com/users/ConstellationApps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ConstellationApps/Base","description":"A central base module with common assets for all Simple Org Apps.","fork":false,"url":"https://api.github.com/repos/ConstellationApps/Base","forks_url":"https://api.github.com/repos/ConstellationApps/Base/forks","keys_url":"https://api.github.com/repos/ConstellationApps/Base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ConstellationApps/Base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ConstellationApps/Base/teams","hooks_url":"https://api.github.com/repos/ConstellationApps/Base/hooks","issue_events_url":"https://api.github.com/repos/ConstellationApps/Base/issues/events{/number}","events_url":"https://api.github.com/repos/ConstellationApps/Base/events","assignees_url":"https://api.github.com/repos/ConstellationApps/Base/assignees{/user}","branches_url":"https://api.github.com/repos/ConstellationApps/Base/branches{/branch}","tags_url":"https://api.github.com/repos/ConstellationApps/Base/tags","blobs_url":"https://api.github.com/repos/ConstellationApps/Base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ConstellationApps/Base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ConstellationApps/Base/git/refs{/sha}","trees_url":"https://api.github.com/repos/ConstellationApps/Base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ConstellationApps/Base/statuses/{sha}","languages_url":"https://api.github.com/repos/ConstellationApps/Base/languages","stargazers_url":"https://api.github.com/repos/ConstellationApps/Base/stargazers","contributors_url":"https://api.github.com/repos/ConstellationApps/Base/contributors","subscribers_url":"https://api.github.com/repos/ConstellationApps/Base/subscribers","subscription_url":"https://api.github.com/repos/ConstellationApps/Base/subscription","commits_url":"https://api.github.com/repos/ConstellationApps/Base/commits{/sha}","git_commits_url":"https://api.github.com/repos/ConstellationApps/Base/git/commits{/sha}","comments_url":"https://api.github.com/repos/ConstellationApps/Base/comments{/number}","issue_comment_url":"https://api.github.com/repos/ConstellationApps/Base/issues/comments{/number}","contents_url":"https://api.github.com/repos/ConstellationApps/Base/contents/{+path}","compare_url":"https://api.github.com/repos/ConstellationApps/Base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ConstellationApps/Base/merges","archive_url":"https://api.github.com/repos/ConstellationApps/Base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ConstellationApps/Base/downloads","issues_url":"https://api.github.com/repos/ConstellationApps/Base/issues{/number}","pulls_url":"https://api.github.com/repos/ConstellationApps/Base/pulls{/number}","milestones_url":"https://api.github.com/repos/ConstellationApps/Base/milestones{/number}","notifications_url":"https://api.github.com/repos/ConstellationApps/Base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ConstellationApps/Base/labels{/name}","releases_url":"https://api.github.com/repos/ConstellationApps/Base/releases{/id}","deployments_url":"https://api.github.com/repos/ConstellationApps/Base/deployments","created_at":"2016-11-06T23:24:26Z","updated_at":"2017-02-01T02:16:36Z","pushed_at":"2017-04-12T23:23:53Z","git_url":"git://github.com/ConstellationApps/Base.git","ssh_url":"git@github.com:ConstellationApps/Base.git","clone_url":"https://github.com/ConstellationApps/Base.git","svn_url":"https://github.com/ConstellationApps/Base","homepage":null,"size":33,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ConstellationApps:master","ref":"master","sha":"5be2dcf4067742aba1a04eb3a6bb2fc15d86499a","user":{"login":"ConstellationApps","id":23206873,"avatar_url":"https://avatars0.githubusercontent.com/u/23206873?v=3","gravatar_id":"","url":"https://api.github.com/users/ConstellationApps","html_url":"https://github.com/ConstellationApps","followers_url":"https://api.github.com/users/ConstellationApps/followers","following_url":"https://api.github.com/users/ConstellationApps/following{/other_user}","gists_url":"https://api.github.com/users/ConstellationApps/gists{/gist_id}","starred_url":"https://api.github.com/users/ConstellationApps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConstellationApps/subscriptions","organizations_url":"https://api.github.com/users/ConstellationApps/orgs","repos_url":"https://api.github.com/users/ConstellationApps/repos","events_url":"https://api.github.com/users/ConstellationApps/events{/privacy}","received_events_url":"https://api.github.com/users/ConstellationApps/received_events","type":"Organization","site_admin":false},"repo":{"id":73025616,"name":"Base","full_name":"ConstellationApps/Base","owner":{"login":"ConstellationApps","id":23206873,"avatar_url":"https://avatars0.githubusercontent.com/u/23206873?v=3","gravatar_id":"","url":"https://api.github.com/users/ConstellationApps","html_url":"https://github.com/ConstellationApps","followers_url":"https://api.github.com/users/ConstellationApps/followers","following_url":"https://api.github.com/users/ConstellationApps/following{/other_user}","gists_url":"https://api.github.com/users/ConstellationApps/gists{/gist_id}","starred_url":"https://api.github.com/users/ConstellationApps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConstellationApps/subscriptions","organizations_url":"https://api.github.com/users/ConstellationApps/orgs","repos_url":"https://api.github.com/users/ConstellationApps/repos","events_url":"https://api.github.com/users/ConstellationApps/events{/privacy}","received_events_url":"https://api.github.com/users/ConstellationApps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ConstellationApps/Base","description":"A central base module with common assets for all Simple Org Apps.","fork":false,"url":"https://api.github.com/repos/ConstellationApps/Base","forks_url":"https://api.github.com/repos/ConstellationApps/Base/forks","keys_url":"https://api.github.com/repos/ConstellationApps/Base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ConstellationApps/Base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ConstellationApps/Base/teams","hooks_url":"https://api.github.com/repos/ConstellationApps/Base/hooks","issue_events_url":"https://api.github.com/repos/ConstellationApps/Base/issues/events{/number}","events_url":"https://api.github.com/repos/ConstellationApps/Base/events","assignees_url":"https://api.github.com/repos/ConstellationApps/Base/assignees{/user}","branches_url":"https://api.github.com/repos/ConstellationApps/Base/branches{/branch}","tags_url":"https://api.github.com/repos/ConstellationApps/Base/tags","blobs_url":"https://api.github.com/repos/ConstellationApps/Base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ConstellationApps/Base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ConstellationApps/Base/git/refs{/sha}","trees_url":"https://api.github.com/repos/ConstellationApps/Base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ConstellationApps/Base/statuses/{sha}","languages_url":"https://api.github.com/repos/ConstellationApps/Base/languages","stargazers_url":"https://api.github.com/repos/ConstellationApps/Base/stargazers","contributors_url":"https://api.github.com/repos/ConstellationApps/Base/contributors","subscribers_url":"https://api.github.com/repos/ConstellationApps/Base/subscribers","subscription_url":"https://api.github.com/repos/ConstellationApps/Base/subscription","commits_url":"https://api.github.com/repos/ConstellationApps/Base/commits{/sha}","git_commits_url":"https://api.github.com/repos/ConstellationApps/Base/git/commits{/sha}","comments_url":"https://api.github.com/repos/ConstellationApps/Base/comments{/number}","issue_comment_url":"https://api.github.com/repos/ConstellationApps/Base/issues/comments{/number}","contents_url":"https://api.github.com/repos/ConstellationApps/Base/contents/{+path}","compare_url":"https://api.github.com/repos/ConstellationApps/Base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ConstellationApps/Base/merges","archive_url":"https://api.github.com/repos/ConstellationApps/Base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ConstellationApps/Base/downloads","issues_url":"https://api.github.com/repos/ConstellationApps/Base/issues{/number}","pulls_url":"https://api.github.com/repos/ConstellationApps/Base/pulls{/number}","milestones_url":"https://api.github.com/repos/ConstellationApps/Base/milestones{/number}","notifications_url":"https://api.github.com/repos/ConstellationApps/Base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ConstellationApps/Base/labels{/name}","releases_url":"https://api.github.com/repos/ConstellationApps/Base/releases{/id}","deployments_url":"https://api.github.com/repos/ConstellationApps/Base/deployments","created_at":"2016-11-06T23:24:26Z","updated_at":"2017-02-01T02:16:36Z","pushed_at":"2017-04-12T23:23:53Z","git_url":"git://github.com/ConstellationApps/Base.git","ssh_url":"git@github.com:ConstellationApps/Base.git","clone_url":"https://github.com/ConstellationApps/Base.git","svn_url":"https://github.com/ConstellationApps/Base","homepage":null,"size":33,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ConstellationApps/Base/pulls/8"},"html":{"href":"https://github.com/ConstellationApps/Base/pull/8"},"issue":{"href":"https://api.github.com/repos/ConstellationApps/Base/issues/8"},"comments":{"href":"https://api.github.com/repos/ConstellationApps/Base/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/ConstellationApps/Base/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/ConstellationApps/Base/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ConstellationApps/Base/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/ConstellationApps/Base/statuses/706a71b255fa1220332b34f2d08d56c563031b98"}}}}
{"actor":{"display_login":"the-maldridge"}}