{"action":"created","comment":{"url":"https://api.github.com/repos/taigaio/taiga-back/pulls/comments/58825876","id":58825876,"diff_hunk":"@@ -0,0 +1,19 @@\n+# -*- coding: utf-8 -*-\n+# Generated by Django 1.9.2 on 2016-04-04 09:32\n+from __future__ import unicode_literals\n+\n+from django.db import migrations\n+\n+\n+class Migration(migrations.Migration):\n+\n+    dependencies = [\n+        ('users', '0017_auto_20160208_1751'),\n+    ]\n+\n+    operations = [\n+        migrations.RunSQL(\n+            \"UPDATE users_role SET permissions = ARRAY_REMOVE(permissions, 'vote_issues')\",\n+            reverse_sql=\"UPDATE users_role SET permissions = ARRAY_APPEND(permissions, 'vote_issues')\"\n+        ),","path":"taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py","position":18,"original_position":18,"commit_id":"41066f4337d885264645e898c0c51926b891a9f8","original_commit_id":"41066f4337d885264645e898c0c51926b891a9f8","user":{"login":"bameda","id":877218,"avatar_url":"https://avatars.githubusercontent.com/u/877218?v=3","gravatar_id":"","url":"https://api.github.com/users/bameda","html_url":"https://github.com/bameda","followers_url":"https://api.github.com/users/bameda/followers","following_url":"https://api.github.com/users/bameda/following{/other_user}","gists_url":"https://api.github.com/users/bameda/gists{/gist_id}","starred_url":"https://api.github.com/users/bameda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bameda/subscriptions","organizations_url":"https://api.github.com/users/bameda/orgs","repos_url":"https://api.github.com/users/bameda/repos","events_url":"https://api.github.com/users/bameda/events{/privacy}","received_events_url":"https://api.github.com/users/bameda/received_events","type":"User","site_admin":false},"body":"You are right","created_at":"2016-04-07T06:50:55Z","updated_at":"2016-04-07T06:50:55Z","html_url":"https://github.com/taigaio/taiga-back/pull/689#discussion_r58825876","pull_request_url":"https://api.github.com/repos/taigaio/taiga-back/pulls/689","_links":{"self":{"href":"https://api.github.com/repos/taigaio/taiga-back/pulls/comments/58825876"},"html":{"href":"https://github.com/taigaio/taiga-back/pull/689#discussion_r58825876"},"pull_request":{"href":"https://api.github.com/repos/taigaio/taiga-back/pulls/689"}}},"pull_request":{"url":"https://api.github.com/repos/taigaio/taiga-back/pulls/689","id":65324139,"html_url":"https://github.com/taigaio/taiga-back/pull/689","diff_url":"https://github.com/taigaio/taiga-back/pull/689.diff","patch_url":"https://github.com/taigaio/taiga-back/pull/689.patch","issue_url":"https://api.github.com/repos/taigaio/taiga-back/issues/689","number":689,"state":"open","locked":false,"title":"Clean user role permissions: remove vote_issues in Role.permissions","user":{"login":"bameda","id":877218,"avatar_url":"https://avatars.githubusercontent.com/u/877218?v=3","gravatar_id":"","url":"https://api.github.com/users/bameda","html_url":"https://github.com/bameda","followers_url":"https://api.github.com/users/bameda/followers","following_url":"https://api.github.com/users/bameda/following{/other_user}","gists_url":"https://api.github.com/users/bameda/gists{/gist_id}","starred_url":"https://api.github.com/users/bameda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bameda/subscriptions","organizations_url":"https://api.github.com/users/bameda/orgs","repos_url":"https://api.github.com/users/bameda/repos","events_url":"https://api.github.com/users/bameda/events{/privacy}","received_events_url":"https://api.github.com/users/bameda/received_events","type":"User","site_admin":false},"body":"Bakport in Saturdayor  Sunday","created_at":"2016-04-05T15:23:46Z","updated_at":"2016-04-07T06:50:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd0cd1d103deab5a86131492a2900c908aafddfd","assignee":{"login":"superalex","id":1579633,"avatar_url":"https://avatars.githubusercontent.com/u/1579633?v=3","gravatar_id":"","url":"https://api.github.com/users/superalex","html_url":"https://github.com/superalex","followers_url":"https://api.github.com/users/superalex/followers","following_url":"https://api.github.com/users/superalex/following{/other_user}","gists_url":"https://api.github.com/users/superalex/gists{/gist_id}","starred_url":"https://api.github.com/users/superalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superalex/subscriptions","organizations_url":"https://api.github.com/users/superalex/orgs","repos_url":"https://api.github.com/users/superalex/repos","events_url":"https://api.github.com/users/superalex/events{/privacy}","received_events_url":"https://api.github.com/users/superalex/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/taigaio/taiga-back/pulls/689/commits","review_comments_url":"https://api.github.com/repos/taigaio/taiga-back/pulls/689/comments","review_comment_url":"https://api.github.com/repos/taigaio/taiga-back/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taigaio/taiga-back/issues/689/comments","statuses_url":"https://api.github.com/repos/taigaio/taiga-back/statuses/41066f4337d885264645e898c0c51926b891a9f8","head":{"label":"taigaio:issue/4059/clean_users_role_permissions","ref":"issue/4059/clean_users_role_permissions","sha":"41066f4337d885264645e898c0c51926b891a9f8","user":{"login":"taigaio","id":6905422,"avatar_url":"https://avatars.githubusercontent.com/u/6905422?v=3","gravatar_id":"","url":"https://api.github.com/users/taigaio","html_url":"https://github.com/taigaio","followers_url":"https://api.github.com/users/taigaio/followers","following_url":"https://api.github.com/users/taigaio/following{/other_user}","gists_url":"https://api.github.com/users/taigaio/gists{/gist_id}","starred_url":"https://api.github.com/users/taigaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taigaio/subscriptions","organizations_url":"https://api.github.com/users/taigaio/orgs","repos_url":"https://api.github.com/users/taigaio/repos","events_url":"https://api.github.com/users/taigaio/events{/privacy}","received_events_url":"https://api.github.com/users/taigaio/received_events","type":"Organization","site_admin":false},"repo":{"id":8881628,"name":"taiga-back","full_name":"taigaio/taiga-back","owner":{"login":"taigaio","id":6905422,"avatar_url":"https://avatars.githubusercontent.com/u/6905422?v=3","gravatar_id":"","url":"https://api.github.com/users/taigaio","html_url":"https://github.com/taigaio","followers_url":"https://api.github.com/users/taigaio/followers","following_url":"https://api.github.com/users/taigaio/following{/other_user}","gists_url":"https://api.github.com/users/taigaio/gists{/gist_id}","starred_url":"https://api.github.com/users/taigaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taigaio/subscriptions","organizations_url":"https://api.github.com/users/taigaio/orgs","repos_url":"https://api.github.com/users/taigaio/repos","events_url":"https://api.github.com/users/taigaio/events{/privacy}","received_events_url":"https://api.github.com/users/taigaio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taigaio/taiga-back","description":"Project management web application with scrum in mind! Built on top of Django and AngularJS (Backend Code)","fork":false,"url":"https://api.github.com/repos/taigaio/taiga-back","forks_url":"https://api.github.com/repos/taigaio/taiga-back/forks","keys_url":"https://api.github.com/repos/taigaio/taiga-back/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taigaio/taiga-back/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taigaio/taiga-back/teams","hooks_url":"https://api.github.com/repos/taigaio/taiga-back/hooks","issue_events_url":"https://api.github.com/repos/taigaio/taiga-back/issues/events{/number}","events_url":"https://api.github.com/repos/taigaio/taiga-back/events","assignees_url":"https://api.github.com/repos/taigaio/taiga-back/assignees{/user}","branches_url":"https://api.github.com/repos/taigaio/taiga-back/branches{/branch}","tags_url":"https://api.github.com/repos/taigaio/taiga-back/tags","blobs_url":"https://api.github.com/repos/taigaio/taiga-back/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taigaio/taiga-back/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taigaio/taiga-back/git/refs{/sha}","trees_url":"https://api.github.com/repos/taigaio/taiga-back/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taigaio/taiga-back/statuses/{sha}","languages_url":"https://api.github.com/repos/taigaio/taiga-back/languages","stargazers_url":"https://api.github.com/repos/taigaio/taiga-back/stargazers","contributors_url":"https://api.github.com/repos/taigaio/taiga-back/contributors","subscribers_url":"https://api.github.com/repos/taigaio/taiga-back/subscribers","subscription_url":"https://api.github.com/repos/taigaio/taiga-back/subscription","commits_url":"https://api.github.com/repos/taigaio/taiga-back/commits{/sha}","git_commits_url":"https://api.github.com/repos/taigaio/taiga-back/git/commits{/sha}","comments_url":"https://api.github.com/repos/taigaio/taiga-back/comments{/number}","issue_comment_url":"https://api.github.com/repos/taigaio/taiga-back/issues/comments{/number}","contents_url":"https://api.github.com/repos/taigaio/taiga-back/contents/{+path}","compare_url":"https://api.github.com/repos/taigaio/taiga-back/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taigaio/taiga-back/merges","archive_url":"https://api.github.com/repos/taigaio/taiga-back/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taigaio/taiga-back/downloads","issues_url":"https://api.github.com/repos/taigaio/taiga-back/issues{/number}","pulls_url":"https://api.github.com/repos/taigaio/taiga-back/pulls{/number}","milestones_url":"https://api.github.com/repos/taigaio/taiga-back/milestones{/number}","notifications_url":"https://api.github.com/repos/taigaio/taiga-back/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taigaio/taiga-back/labels{/name}","releases_url":"https://api.github.com/repos/taigaio/taiga-back/releases{/id}","deployments_url":"https://api.github.com/repos/taigaio/taiga-back/deployments","created_at":"2013-03-19T15:14:00Z","updated_at":"2016-04-06T20:31:32Z","pushed_at":"2016-04-07T06:45:07Z","git_url":"git://github.com/taigaio/taiga-back.git","ssh_url":"git@github.com:taigaio/taiga-back.git","clone_url":"https://github.com/taigaio/taiga-back.git","svn_url":"https://github.com/taigaio/taiga-back","homepage":"http://taiga.io","size":13191,"stargazers_count":2734,"watchers_count":2734,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":411,"mirror_url":null,"open_issues_count":73,"forks":411,"open_issues":73,"watchers":2734,"default_branch":"master"}},"base":{"label":"taigaio:master","ref":"master","sha":"1f6382a09ec439072cd6dac3236f19cadc24ae10","user":{"login":"taigaio","id":6905422,"avatar_url":"https://avatars.githubusercontent.com/u/6905422?v=3","gravatar_id":"","url":"https://api.github.com/users/taigaio","html_url":"https://github.com/taigaio","followers_url":"https://api.github.com/users/taigaio/followers","following_url":"https://api.github.com/users/taigaio/following{/other_user}","gists_url":"https://api.github.com/users/taigaio/gists{/gist_id}","starred_url":"https://api.github.com/users/taigaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taigaio/subscriptions","organizations_url":"https://api.github.com/users/taigaio/orgs","repos_url":"https://api.github.com/users/taigaio/repos","events_url":"https://api.github.com/users/taigaio/events{/privacy}","received_events_url":"https://api.github.com/users/taigaio/received_events","type":"Organization","site_admin":false},"repo":{"id":8881628,"name":"taiga-back","full_name":"taigaio/taiga-back","owner":{"login":"taigaio","id":6905422,"avatar_url":"https://avatars.githubusercontent.com/u/6905422?v=3","gravatar_id":"","url":"https://api.github.com/users/taigaio","html_url":"https://github.com/taigaio","followers_url":"https://api.github.com/users/taigaio/followers","following_url":"https://api.github.com/users/taigaio/following{/other_user}","gists_url":"https://api.github.com/users/taigaio/gists{/gist_id}","starred_url":"https://api.github.com/users/taigaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taigaio/subscriptions","organizations_url":"https://api.github.com/users/taigaio/orgs","repos_url":"https://api.github.com/users/taigaio/repos","events_url":"https://api.github.com/users/taigaio/events{/privacy}","received_events_url":"https://api.github.com/users/taigaio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taigaio/taiga-back","description":"Project management web application with scrum in mind! Built on top of Django and AngularJS (Backend Code)","fork":false,"url":"https://api.github.com/repos/taigaio/taiga-back","forks_url":"https://api.github.com/repos/taigaio/taiga-back/forks","keys_url":"https://api.github.com/repos/taigaio/taiga-back/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taigaio/taiga-back/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taigaio/taiga-back/teams","hooks_url":"https://api.github.com/repos/taigaio/taiga-back/hooks","issue_events_url":"https://api.github.com/repos/taigaio/taiga-back/issues/events{/number}","events_url":"https://api.github.com/repos/taigaio/taiga-back/events","assignees_url":"https://api.github.com/repos/taigaio/taiga-back/assignees{/user}","branches_url":"https://api.github.com/repos/taigaio/taiga-back/branches{/branch}","tags_url":"https://api.github.com/repos/taigaio/taiga-back/tags","blobs_url":"https://api.github.com/repos/taigaio/taiga-back/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taigaio/taiga-back/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taigaio/taiga-back/git/refs{/sha}","trees_url":"https://api.github.com/repos/taigaio/taiga-back/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taigaio/taiga-back/statuses/{sha}","languages_url":"https://api.github.com/repos/taigaio/taiga-back/languages","stargazers_url":"https://api.github.com/repos/taigaio/taiga-back/stargazers","contributors_url":"https://api.github.com/repos/taigaio/taiga-back/contributors","subscribers_url":"https://api.github.com/repos/taigaio/taiga-back/subscribers","subscription_url":"https://api.github.com/repos/taigaio/taiga-back/subscription","commits_url":"https://api.github.com/repos/taigaio/taiga-back/commits{/sha}","git_commits_url":"https://api.github.com/repos/taigaio/taiga-back/git/commits{/sha}","comments_url":"https://api.github.com/repos/taigaio/taiga-back/comments{/number}","issue_comment_url":"https://api.github.com/repos/taigaio/taiga-back/issues/comments{/number}","contents_url":"https://api.github.com/repos/taigaio/taiga-back/contents/{+path}","compare_url":"https://api.github.com/repos/taigaio/taiga-back/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taigaio/taiga-back/merges","archive_url":"https://api.github.com/repos/taigaio/taiga-back/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taigaio/taiga-back/downloads","issues_url":"https://api.github.com/repos/taigaio/taiga-back/issues{/number}","pulls_url":"https://api.github.com/repos/taigaio/taiga-back/pulls{/number}","milestones_url":"https://api.github.com/repos/taigaio/taiga-back/milestones{/number}","notifications_url":"https://api.github.com/repos/taigaio/taiga-back/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taigaio/taiga-back/labels{/name}","releases_url":"https://api.github.com/repos/taigaio/taiga-back/releases{/id}","deployments_url":"https://api.github.com/repos/taigaio/taiga-back/deployments","created_at":"2013-03-19T15:14:00Z","updated_at":"2016-04-06T20:31:32Z","pushed_at":"2016-04-07T06:45:07Z","git_url":"git://github.com/taigaio/taiga-back.git","ssh_url":"git@github.com:taigaio/taiga-back.git","clone_url":"https://github.com/taigaio/taiga-back.git","svn_url":"https://github.com/taigaio/taiga-back","homepage":"http://taiga.io","size":13191,"stargazers_count":2734,"watchers_count":2734,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":411,"mirror_url":null,"open_issues_count":73,"forks":411,"open_issues":73,"watchers":2734,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taigaio/taiga-back/pulls/689"},"html":{"href":"https://github.com/taigaio/taiga-back/pull/689"},"issue":{"href":"https://api.github.com/repos/taigaio/taiga-back/issues/689"},"comments":{"href":"https://api.github.com/repos/taigaio/taiga-back/issues/689/comments"},"review_comments":{"href":"https://api.github.com/repos/taigaio/taiga-back/pulls/689/comments"},"review_comment":{"href":"https://api.github.com/repos/taigaio/taiga-back/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taigaio/taiga-back/pulls/689/commits"},"statuses":{"href":"https://api.github.com/repos/taigaio/taiga-back/statuses/41066f4337d885264645e898c0c51926b891a9f8"}}}}