{"action":"opened","number":19839,"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/19839","id":194387946,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0Mzg3OTQ2","html_url":"https://github.com/elastic/kibana/pull/19839","diff_url":"https://github.com/elastic/kibana/pull/19839.diff","patch_url":"https://github.com/elastic/kibana/pull/19839.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/19839","number":19839,"state":"open","locked":false,"title":"[RBAC Phase 1] - Update application privileges when XPack license changes","user":{"login":"legrego","id":3493255,"node_id":"MDQ6VXNlcjM0OTMyNTU=","avatar_url":"https://avatars2.githubusercontent.com/u/3493255?v=4","gravatar_id":"","url":"https://api.github.com/users/legrego","html_url":"https://github.com/legrego","followers_url":"https://api.github.com/users/legrego/followers","following_url":"https://api.github.com/users/legrego/following{/other_user}","gists_url":"https://api.github.com/users/legrego/gists{/gist_id}","starred_url":"https://api.github.com/users/legrego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legrego/subscriptions","organizations_url":"https://api.github.com/users/legrego/orgs","repos_url":"https://api.github.com/users/legrego/repos","events_url":"https://api.github.com/users/legrego/events{/privacy}","received_events_url":"https://api.github.com/users/legrego/received_events","type":"User","site_admin":false},"body":"This PR introduces a new hook so that plugins can be notified of XPack license changes (basic -> trial, basic -> platinum, etc). This allows the security plugin to register custom application privileges only when necessary, and only when Elasticsearch is in a state to support them.\r\n\r\nCaveat: Discussing with @kobelb, we realize that the Security plugin will \"go green\" before privileges have been registered with the cluster. This is an unfortunate limitation of the current architecture, and will not be addressed as part of this PR.","created_at":"2018-06-12T19:47:12Z","updated_at":"2018-06-12T19:47:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":820277882,"node_id":"MDU6TGFiZWw4MjAyNzc4ODI=","url":"https://api.github.com/repos/elastic/kibana/labels/:Security","name":":Security","color":"fef2c0","default":false},{"id":883958396,"node_id":"MDU6TGFiZWw4ODM5NTgzOTY=","url":"https://api.github.com/repos/elastic/kibana/labels/v6.4.0","name":"v6.4.0","color":"ffffff","default":false},{"id":654061976,"node_id":"MDU6TGFiZWw2NTQwNjE5NzY=","url":"https://api.github.com/repos/elastic/kibana/labels/v7.0.0","name":"v7.0.0","color":"ffffff","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/19839/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/19839/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/19839/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/bc12b61d6179f4e93b9b11202f720bf75d8ce8ae","head":{"label":"legrego:license-change-callback","ref":"license-change-callback","sha":"bc12b61d6179f4e93b9b11202f720bf75d8ce8ae","user":{"login":"legrego","id":3493255,"node_id":"MDQ6VXNlcjM0OTMyNTU=","avatar_url":"https://avatars2.githubusercontent.com/u/3493255?v=4","gravatar_id":"","url":"https://api.github.com/users/legrego","html_url":"https://github.com/legrego","followers_url":"https://api.github.com/users/legrego/followers","following_url":"https://api.github.com/users/legrego/following{/other_user}","gists_url":"https://api.github.com/users/legrego/gists{/gist_id}","starred_url":"https://api.github.com/users/legrego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legrego/subscriptions","organizations_url":"https://api.github.com/users/legrego/orgs","repos_url":"https://api.github.com/users/legrego/repos","events_url":"https://api.github.com/users/legrego/events{/privacy}","received_events_url":"https://api.github.com/users/legrego/received_events","type":"User","site_admin":false},"repo":{"id":122997624,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI5OTc2MjQ=","name":"kibana","full_name":"legrego/kibana","owner":{"login":"legrego","id":3493255,"node_id":"MDQ6VXNlcjM0OTMyNTU=","avatar_url":"https://avatars2.githubusercontent.com/u/3493255?v=4","gravatar_id":"","url":"https://api.github.com/users/legrego","html_url":"https://github.com/legrego","followers_url":"https://api.github.com/users/legrego/followers","following_url":"https://api.github.com/users/legrego/following{/other_user}","gists_url":"https://api.github.com/users/legrego/gists{/gist_id}","starred_url":"https://api.github.com/users/legrego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legrego/subscriptions","organizations_url":"https://api.github.com/users/legrego/orgs","repos_url":"https://api.github.com/users/legrego/repos","events_url":"https://api.github.com/users/legrego/events{/privacy}","received_events_url":"https://api.github.com/users/legrego/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/legrego/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":true,"url":"https://api.github.com/repos/legrego/kibana","forks_url":"https://api.github.com/repos/legrego/kibana/forks","keys_url":"https://api.github.com/repos/legrego/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/legrego/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/legrego/kibana/teams","hooks_url":"https://api.github.com/repos/legrego/kibana/hooks","issue_events_url":"https://api.github.com/repos/legrego/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/legrego/kibana/events","assignees_url":"https://api.github.com/repos/legrego/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/legrego/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/legrego/kibana/tags","blobs_url":"https://api.github.com/repos/legrego/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/legrego/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/legrego/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/legrego/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/legrego/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/legrego/kibana/languages","stargazers_url":"https://api.github.com/repos/legrego/kibana/stargazers","contributors_url":"https://api.github.com/repos/legrego/kibana/contributors","subscribers_url":"https://api.github.com/repos/legrego/kibana/subscribers","subscription_url":"https://api.github.com/repos/legrego/kibana/subscription","commits_url":"https://api.github.com/repos/legrego/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/legrego/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/legrego/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/legrego/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/legrego/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/legrego/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/legrego/kibana/merges","archive_url":"https://api.github.com/repos/legrego/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/legrego/kibana/downloads","issues_url":"https://api.github.com/repos/legrego/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/legrego/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/legrego/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/legrego/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/legrego/kibana/labels{/name}","releases_url":"https://api.github.com/repos/legrego/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/legrego/kibana/deployments","created_at":"2018-02-26T16:34:03Z","updated_at":"2018-04-25T15:20:10Z","pushed_at":"2018-06-12T19:42:48Z","git_url":"git://github.com/legrego/kibana.git","ssh_url":"git@github.com:legrego/kibana.git","clone_url":"https://github.com/legrego/kibana.git","svn_url":"https://github.com/legrego/kibana","homepage":"https://www.elastic.co/products/kibana","size":408419,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:security-app-privs","ref":"security-app-privs","sha":"e88707679bbbdac100f52c98d7654f18c7bda48b","user":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":7833168,"node_id":"MDEwOlJlcG9zaXRvcnk3ODMzMTY4","name":"kibana","full_name":"elastic/kibana","owner":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/kibana/deployments","created_at":"2013-01-26T04:00:59Z","updated_at":"2018-06-12T19:26:41Z","pushed_at":"2018-06-12T19:41:34Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":415104,"stargazers_count":9487,"watchers_count":9487,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3681,"mirror_url":null,"archived":false,"open_issues_count":3175,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3681,"open_issues":3175,"watchers":9487,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/19839"},"html":{"href":"https://github.com/elastic/kibana/pull/19839"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/19839"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/19839/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/19839/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/19839/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/bc12b61d6179f4e93b9b11202f720bf75d8ce8ae"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":181,"deletions":48,"changed_files":7}}
{"actor":{"display_login":"legrego"}}