{"action":"created","issue":{"url":"https://api.github.com/repos/youtube/vitess/issues/2082","repository_url":"https://api.github.com/repos/youtube/vitess","labels_url":"https://api.github.com/repos/youtube/vitess/issues/2082/labels{/name}","comments_url":"https://api.github.com/repos/youtube/vitess/issues/2082/comments","events_url":"https://api.github.com/repos/youtube/vitess/issues/2082/events","html_url":"https://github.com/youtube/vitess/pull/2082","id":178915770,"number":2082,"title":"Add support for Vitess 'allprivs' user.","user":{"login":"pivanof","id":5752651,"avatar_url":"https://avatars.githubusercontent.com/u/5752651?v=3","gravatar_id":"","url":"https://api.github.com/users/pivanof","html_url":"https://github.com/pivanof","followers_url":"https://api.github.com/users/pivanof/followers","following_url":"https://api.github.com/users/pivanof/following{/other_user}","gists_url":"https://api.github.com/users/pivanof/gists{/gist_id}","starred_url":"https://api.github.com/users/pivanof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivanof/subscriptions","organizations_url":"https://api.github.com/users/pivanof/orgs","repos_url":"https://api.github.com/users/pivanof/repos","events_url":"https://api.github.com/users/pivanof/events{/privacy}","received_events_url":"https://api.github.com/users/pivanof/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/youtube/vitess/labels/cla:%20yes","name":"cla: yes","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"alainjobart","id":4625714,"avatar_url":"https://avatars.githubusercontent.com/u/4625714?v=3","gravatar_id":"","url":"https://api.github.com/users/alainjobart","html_url":"https://github.com/alainjobart","followers_url":"https://api.github.com/users/alainjobart/followers","following_url":"https://api.github.com/users/alainjobart/following{/other_user}","gists_url":"https://api.github.com/users/alainjobart/gists{/gist_id}","starred_url":"https://api.github.com/users/alainjobart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alainjobart/subscriptions","organizations_url":"https://api.github.com/users/alainjobart/orgs","repos_url":"https://api.github.com/users/alainjobart/repos","events_url":"https://api.github.com/users/alainjobart/events{/privacy}","received_events_url":"https://api.github.com/users/alainjobart/received_events","type":"User","site_admin":false},"assignees":[{"login":"alainjobart","id":4625714,"avatar_url":"https://avatars.githubusercontent.com/u/4625714?v=3","gravatar_id":"","url":"https://api.github.com/users/alainjobart","html_url":"https://github.com/alainjobart","followers_url":"https://api.github.com/users/alainjobart/followers","following_url":"https://api.github.com/users/alainjobart/following{/other_user}","gists_url":"https://api.github.com/users/alainjobart/gists{/gist_id}","starred_url":"https://api.github.com/users/alainjobart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alainjobart/subscriptions","organizations_url":"https://api.github.com/users/alainjobart/orgs","repos_url":"https://api.github.com/users/alainjobart/repos","events_url":"https://api.github.com/users/alainjobart/events{/privacy}","received_events_url":"https://api.github.com/users/alainjobart/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-23T16:08:48Z","updated_at":"2016-09-23T16:13:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/youtube/vitess/pulls/2082","html_url":"https://github.com/youtube/vitess/pull/2082","diff_url":"https://github.com/youtube/vitess/pull/2082.diff","patch_url":"https://github.com/youtube/vitess/pull/2082.patch"},"body":"This adds support for an 'allprivs' user which is supposed to have more\r\nprivileges than 'app' user, but unlike 'dba' user 'allprivs' won't have SUPER\r\nprivilege. New method ExecuteFetchAsAllPrivs() is added to TabletManager\r\nservice to be able to execute queries as this new 'allprivs' user.\r\n\r\n'allprivs' user will be used for administrative tasks done by Vitess, such as\r\nchanges in metadata tables that schema swap process will be doing. 'allprivs'\r\nuser shouldn't have SUPER privilege so that schema swap could safely change\r\nreplicated metadata on the master without risk to commit the changes when\r\nmaster has been already demoted to be a slave."},"comment":{"url":"https://api.github.com/repos/youtube/vitess/issues/comments/249235577","html_url":"https://github.com/youtube/vitess/pull/2082#issuecomment-249235577","issue_url":"https://api.github.com/repos/youtube/vitess/issues/2082","id":249235577,"user":{"login":"alainjobart","id":4625714,"avatar_url":"https://avatars.githubusercontent.com/u/4625714?v=3","gravatar_id":"","url":"https://api.github.com/users/alainjobart","html_url":"https://github.com/alainjobart","followers_url":"https://api.github.com/users/alainjobart/followers","following_url":"https://api.github.com/users/alainjobart/following{/other_user}","gists_url":"https://api.github.com/users/alainjobart/gists{/gist_id}","starred_url":"https://api.github.com/users/alainjobart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alainjobart/subscriptions","organizations_url":"https://api.github.com/users/alainjobart/orgs","repos_url":"https://api.github.com/users/alainjobart/repos","events_url":"https://api.github.com/users/alainjobart/events{/privacy}","received_events_url":"https://api.github.com/users/alainjobart/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T16:13:53Z","updated_at":"2016-09-23T16:13:54Z","body":"LGTM\n\n[![Approved with PullApprove](https://img.shields.io/badge/vitess--eng-approved-brightgreen.svg)](https://pullapprove.com/youtube/vitess/pull-request/2082/?utm_source=github-pr&utm_medium=comment-badge&utm_campaign=youtube/vitess)"}}
{"actor":{"display_login":"alainjobart"}}