{"action":"created","comment":{"url":"https://api.github.com/repos/interlegis/sapl/pulls/comments/68430728","id":68430728,"diff_hunk":"@@ -78,11 +114,29 @@ def get(self, request, *args, **kwargs):\n             context['participacoes'] = composicao.participacao_set.all()\n             return self.render_to_response(context)\n \n+    class CreateView(PermissionRequiredMixin, MasterDetailCrud.DetailView):\n+        permission_required = permissoes_comissoes()\n+\n+    class UpdateView(PermissionRequiredMixin, MasterDetailCrud.DetailView):\n+        permission_required = permissoes_comissoes()\n+\n+    class DeleteView(PermissionRequiredMixin, MasterDetailCrud.DetailView):\n+        permission_required = permissoes_comissoes()\n+","path":"sapl/comissoes/views.py","position":93,"original_position":93,"commit_id":"eaa5ff8da447f8d0f8af15f1d152a69147bb17c2","original_commit_id":"eaa5ff8da447f8d0f8af15f1d152a69147bb17c2","user":{"login":"eduardocalil","id":14843060,"avatar_url":"https://avatars.githubusercontent.com/u/14843060?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardocalil","html_url":"https://github.com/eduardocalil","followers_url":"https://api.github.com/users/eduardocalil/followers","following_url":"https://api.github.com/users/eduardocalil/following{/other_user}","gists_url":"https://api.github.com/users/eduardocalil/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardocalil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardocalil/subscriptions","organizations_url":"https://api.github.com/users/eduardocalil/orgs","repos_url":"https://api.github.com/users/eduardocalil/repos","events_url":"https://api.github.com/users/eduardocalil/events{/privacy}","received_events_url":"https://api.github.com/users/eduardocalil/received_events","type":"User","site_admin":false},"body":"Estão, resolverei","created_at":"2016-06-24T17:21:57Z","updated_at":"2016-06-24T17:21:57Z","html_url":"https://github.com/interlegis/sapl/pull/505#discussion_r68430728","pull_request_url":"https://api.github.com/repos/interlegis/sapl/pulls/505","_links":{"self":{"href":"https://api.github.com/repos/interlegis/sapl/pulls/comments/68430728"},"html":{"href":"https://github.com/interlegis/sapl/pull/505#discussion_r68430728"},"pull_request":{"href":"https://api.github.com/repos/interlegis/sapl/pulls/505"}}},"pull_request":{"url":"https://api.github.com/repos/interlegis/sapl/pulls/505","id":75133819,"html_url":"https://github.com/interlegis/sapl/pull/505","diff_url":"https://github.com/interlegis/sapl/pull/505.diff","patch_url":"https://github.com/interlegis/sapl/pull/505.patch","issue_url":"https://api.github.com/repos/interlegis/sapl/issues/505","number":505,"state":"open","locked":false,"title":"Fix #103 autorizacaov2","user":{"login":"eduardocalil","id":14843060,"avatar_url":"https://avatars.githubusercontent.com/u/14843060?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardocalil","html_url":"https://github.com/eduardocalil","followers_url":"https://api.github.com/users/eduardocalil/followers","following_url":"https://api.github.com/users/eduardocalil/following{/other_user}","gists_url":"https://api.github.com/users/eduardocalil/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardocalil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardocalil/subscriptions","organizations_url":"https://api.github.com/users/eduardocalil/orgs","repos_url":"https://api.github.com/users/eduardocalil/repos","events_url":"https://api.github.com/users/eduardocalil/events{/privacy}","received_events_url":"https://api.github.com/users/eduardocalil/received_events","type":"User","site_admin":false},"body":"Para que funcione corretamente, deve-se rodar o comando:\r\n\r\n**./manage.py shell < scripts/inicializa_grupos_autorizacoes.py** \r\n\r\n**obs:** É interessante que esse branch seja mergiado antes do **474-criar-secao-doc-adm-v2**","created_at":"2016-06-24T15:46:05Z","updated_at":"2016-06-24T17:21:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ec00d9de15666cd9e5e797317b64a1e15e98a1b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/interlegis/sapl/pulls/505/commits","review_comments_url":"https://api.github.com/repos/interlegis/sapl/pulls/505/comments","review_comment_url":"https://api.github.com/repos/interlegis/sapl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/interlegis/sapl/issues/505/comments","statuses_url":"https://api.github.com/repos/interlegis/sapl/statuses/eaa5ff8da447f8d0f8af15f1d152a69147bb17c2","head":{"label":"interlegis:103-autorizacaov2","ref":"103-autorizacaov2","sha":"eaa5ff8da447f8d0f8af15f1d152a69147bb17c2","user":{"login":"interlegis","id":1484001,"avatar_url":"https://avatars.githubusercontent.com/u/1484001?v=3","gravatar_id":"","url":"https://api.github.com/users/interlegis","html_url":"https://github.com/interlegis","followers_url":"https://api.github.com/users/interlegis/followers","following_url":"https://api.github.com/users/interlegis/following{/other_user}","gists_url":"https://api.github.com/users/interlegis/gists{/gist_id}","starred_url":"https://api.github.com/users/interlegis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interlegis/subscriptions","organizations_url":"https://api.github.com/users/interlegis/orgs","repos_url":"https://api.github.com/users/interlegis/repos","events_url":"https://api.github.com/users/interlegis/events{/privacy}","received_events_url":"https://api.github.com/users/interlegis/received_events","type":"Organization","site_admin":false},"repo":{"id":38117210,"name":"sapl","full_name":"interlegis/sapl","owner":{"login":"interlegis","id":1484001,"avatar_url":"https://avatars.githubusercontent.com/u/1484001?v=3","gravatar_id":"","url":"https://api.github.com/users/interlegis","html_url":"https://github.com/interlegis","followers_url":"https://api.github.com/users/interlegis/followers","following_url":"https://api.github.com/users/interlegis/following{/other_user}","gists_url":"https://api.github.com/users/interlegis/gists{/gist_id}","starred_url":"https://api.github.com/users/interlegis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interlegis/subscriptions","organizations_url":"https://api.github.com/users/interlegis/orgs","repos_url":"https://api.github.com/users/interlegis/repos","events_url":"https://api.github.com/users/interlegis/events{/privacy}","received_events_url":"https://api.github.com/users/interlegis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interlegis/sapl","description":"Sistema de Apoio ao Processo Legislativo","fork":false,"url":"https://api.github.com/repos/interlegis/sapl","forks_url":"https://api.github.com/repos/interlegis/sapl/forks","keys_url":"https://api.github.com/repos/interlegis/sapl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interlegis/sapl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interlegis/sapl/teams","hooks_url":"https://api.github.com/repos/interlegis/sapl/hooks","issue_events_url":"https://api.github.com/repos/interlegis/sapl/issues/events{/number}","events_url":"https://api.github.com/repos/interlegis/sapl/events","assignees_url":"https://api.github.com/repos/interlegis/sapl/assignees{/user}","branches_url":"https://api.github.com/repos/interlegis/sapl/branches{/branch}","tags_url":"https://api.github.com/repos/interlegis/sapl/tags","blobs_url":"https://api.github.com/repos/interlegis/sapl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interlegis/sapl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interlegis/sapl/git/refs{/sha}","trees_url":"https://api.github.com/repos/interlegis/sapl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interlegis/sapl/statuses/{sha}","languages_url":"https://api.github.com/repos/interlegis/sapl/languages","stargazers_url":"https://api.github.com/repos/interlegis/sapl/stargazers","contributors_url":"https://api.github.com/repos/interlegis/sapl/contributors","subscribers_url":"https://api.github.com/repos/interlegis/sapl/subscribers","subscription_url":"https://api.github.com/repos/interlegis/sapl/subscription","commits_url":"https://api.github.com/repos/interlegis/sapl/commits{/sha}","git_commits_url":"https://api.github.com/repos/interlegis/sapl/git/commits{/sha}","comments_url":"https://api.github.com/repos/interlegis/sapl/comments{/number}","issue_comment_url":"https://api.github.com/repos/interlegis/sapl/issues/comments{/number}","contents_url":"https://api.github.com/repos/interlegis/sapl/contents/{+path}","compare_url":"https://api.github.com/repos/interlegis/sapl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interlegis/sapl/merges","archive_url":"https://api.github.com/repos/interlegis/sapl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interlegis/sapl/downloads","issues_url":"https://api.github.com/repos/interlegis/sapl/issues{/number}","pulls_url":"https://api.github.com/repos/interlegis/sapl/pulls{/number}","milestones_url":"https://api.github.com/repos/interlegis/sapl/milestones{/number}","notifications_url":"https://api.github.com/repos/interlegis/sapl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interlegis/sapl/labels{/name}","releases_url":"https://api.github.com/repos/interlegis/sapl/releases{/id}","deployments_url":"https://api.github.com/repos/interlegis/sapl/deployments","created_at":"2015-06-26T15:01:58Z","updated_at":"2016-01-11T12:20:39Z","pushed_at":"2016-06-24T15:52:38Z","git_url":"git://github.com/interlegis/sapl.git","ssh_url":"git@github.com:interlegis/sapl.git","clone_url":"https://github.com/interlegis/sapl.git","svn_url":"https://github.com/interlegis/sapl","homepage":null,"size":4794,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":125,"forks":10,"open_issues":125,"watchers":8,"default_branch":"master"}},"base":{"label":"interlegis:master","ref":"master","sha":"c4046aa7b7ded5f95ac639b8204d826ffa3abd1c","user":{"login":"interlegis","id":1484001,"avatar_url":"https://avatars.githubusercontent.com/u/1484001?v=3","gravatar_id":"","url":"https://api.github.com/users/interlegis","html_url":"https://github.com/interlegis","followers_url":"https://api.github.com/users/interlegis/followers","following_url":"https://api.github.com/users/interlegis/following{/other_user}","gists_url":"https://api.github.com/users/interlegis/gists{/gist_id}","starred_url":"https://api.github.com/users/interlegis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interlegis/subscriptions","organizations_url":"https://api.github.com/users/interlegis/orgs","repos_url":"https://api.github.com/users/interlegis/repos","events_url":"https://api.github.com/users/interlegis/events{/privacy}","received_events_url":"https://api.github.com/users/interlegis/received_events","type":"Organization","site_admin":false},"repo":{"id":38117210,"name":"sapl","full_name":"interlegis/sapl","owner":{"login":"interlegis","id":1484001,"avatar_url":"https://avatars.githubusercontent.com/u/1484001?v=3","gravatar_id":"","url":"https://api.github.com/users/interlegis","html_url":"https://github.com/interlegis","followers_url":"https://api.github.com/users/interlegis/followers","following_url":"https://api.github.com/users/interlegis/following{/other_user}","gists_url":"https://api.github.com/users/interlegis/gists{/gist_id}","starred_url":"https://api.github.com/users/interlegis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interlegis/subscriptions","organizations_url":"https://api.github.com/users/interlegis/orgs","repos_url":"https://api.github.com/users/interlegis/repos","events_url":"https://api.github.com/users/interlegis/events{/privacy}","received_events_url":"https://api.github.com/users/interlegis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interlegis/sapl","description":"Sistema de Apoio ao Processo Legislativo","fork":false,"url":"https://api.github.com/repos/interlegis/sapl","forks_url":"https://api.github.com/repos/interlegis/sapl/forks","keys_url":"https://api.github.com/repos/interlegis/sapl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interlegis/sapl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interlegis/sapl/teams","hooks_url":"https://api.github.com/repos/interlegis/sapl/hooks","issue_events_url":"https://api.github.com/repos/interlegis/sapl/issues/events{/number}","events_url":"https://api.github.com/repos/interlegis/sapl/events","assignees_url":"https://api.github.com/repos/interlegis/sapl/assignees{/user}","branches_url":"https://api.github.com/repos/interlegis/sapl/branches{/branch}","tags_url":"https://api.github.com/repos/interlegis/sapl/tags","blobs_url":"https://api.github.com/repos/interlegis/sapl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interlegis/sapl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interlegis/sapl/git/refs{/sha}","trees_url":"https://api.github.com/repos/interlegis/sapl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interlegis/sapl/statuses/{sha}","languages_url":"https://api.github.com/repos/interlegis/sapl/languages","stargazers_url":"https://api.github.com/repos/interlegis/sapl/stargazers","contributors_url":"https://api.github.com/repos/interlegis/sapl/contributors","subscribers_url":"https://api.github.com/repos/interlegis/sapl/subscribers","subscription_url":"https://api.github.com/repos/interlegis/sapl/subscription","commits_url":"https://api.github.com/repos/interlegis/sapl/commits{/sha}","git_commits_url":"https://api.github.com/repos/interlegis/sapl/git/commits{/sha}","comments_url":"https://api.github.com/repos/interlegis/sapl/comments{/number}","issue_comment_url":"https://api.github.com/repos/interlegis/sapl/issues/comments{/number}","contents_url":"https://api.github.com/repos/interlegis/sapl/contents/{+path}","compare_url":"https://api.github.com/repos/interlegis/sapl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interlegis/sapl/merges","archive_url":"https://api.github.com/repos/interlegis/sapl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interlegis/sapl/downloads","issues_url":"https://api.github.com/repos/interlegis/sapl/issues{/number}","pulls_url":"https://api.github.com/repos/interlegis/sapl/pulls{/number}","milestones_url":"https://api.github.com/repos/interlegis/sapl/milestones{/number}","notifications_url":"https://api.github.com/repos/interlegis/sapl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interlegis/sapl/labels{/name}","releases_url":"https://api.github.com/repos/interlegis/sapl/releases{/id}","deployments_url":"https://api.github.com/repos/interlegis/sapl/deployments","created_at":"2015-06-26T15:01:58Z","updated_at":"2016-01-11T12:20:39Z","pushed_at":"2016-06-24T15:52:38Z","git_url":"git://github.com/interlegis/sapl.git","ssh_url":"git@github.com:interlegis/sapl.git","clone_url":"https://github.com/interlegis/sapl.git","svn_url":"https://github.com/interlegis/sapl","homepage":null,"size":4794,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":125,"forks":10,"open_issues":125,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/interlegis/sapl/pulls/505"},"html":{"href":"https://github.com/interlegis/sapl/pull/505"},"issue":{"href":"https://api.github.com/repos/interlegis/sapl/issues/505"},"comments":{"href":"https://api.github.com/repos/interlegis/sapl/issues/505/comments"},"review_comments":{"href":"https://api.github.com/repos/interlegis/sapl/pulls/505/comments"},"review_comment":{"href":"https://api.github.com/repos/interlegis/sapl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/interlegis/sapl/pulls/505/commits"},"statuses":{"href":"https://api.github.com/repos/interlegis/sapl/statuses/eaa5ff8da447f8d0f8af15f1d152a69147bb17c2"}}}}
{"actor":{"display_login":"eduardocalil"}}