You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by sa...@apache.org on 2016/08/01 21:08:42 UTC

[1/2] incubator-airflow git commit: limit scope to user email only AIRFLOW-386

Repository: incubator-airflow
Updated Branches:
  refs/heads/master eb989dcb5 -> 3cef8ed28


limit scope to user email only AIRFLOW-386


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/a1c4cd92
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/a1c4cd92
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/a1c4cd92

Branch: refs/heads/master
Commit: a1c4cd92d536f7bf6617d85df4d197d8adf09d3d
Parents: eb989dc
Author: michlyon <mi...@twitch.tv>
Authored: Mon Aug 1 10:16:22 2016 -0700
Committer: michlyon <mi...@twitch.tv>
Committed: Mon Aug 1 10:16:22 2016 -0700

----------------------------------------------------------------------
 airflow/contrib/auth/backends/github_enterprise_auth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/a1c4cd92/airflow/contrib/auth/backends/github_enterprise_auth.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/auth/backends/github_enterprise_auth.py b/airflow/contrib/auth/backends/github_enterprise_auth.py
index c3eb96b..f9d6426 100644
--- a/airflow/contrib/auth/backends/github_enterprise_auth.py
+++ b/airflow/contrib/auth/backends/github_enterprise_auth.py
@@ -101,7 +101,7 @@ class GHEAuthBackend(object):
             consumer_key=get_config_param('client_id'),
             consumer_secret=get_config_param('client_secret'),
             # need read:org to get team member list
-            request_token_params={'scope': 'user,read:org'},
+            request_token_params={'scope': 'user:email,read:org'},
             base_url=self.ghe_host,
             request_token_url=None,
             access_token_method='POST',


[2/2] incubator-airflow git commit: Merge pull request #1700 from mylons/limit_github_enterprise_scope

Posted by sa...@apache.org.
Merge pull request #1700 from mylons/limit_github_enterprise_scope


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/3cef8ed2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/3cef8ed2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/3cef8ed2

Branch: refs/heads/master
Commit: 3cef8ed28b5bd18f347cf84b4d1a64bc03b39143
Parents: eb989dc a1c4cd9
Author: Sid Anand <si...@yahoo.com>
Authored: Mon Aug 1 14:08:34 2016 -0700
Committer: Sid Anand <si...@yahoo.com>
Committed: Mon Aug 1 14:08:34 2016 -0700

----------------------------------------------------------------------
 airflow/contrib/auth/backends/github_enterprise_auth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------