You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/08/14 18:21:26 UTC

[airflow] branch v1-10-test updated (8e11423 -> 4e98e4e)

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a change to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git.


    omit 8e11423  Fix airflow-webserver startup errors when using Kerberos Auth (#10047)
     new 4e98e4e  Fix airflow-webserver startup errors when using Kerberos Auth (#10047)

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (8e11423)
            \
             N -- N -- N   refs/heads/v1-10-test (4e98e4e)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 airflow/contrib/auth/backends/kerberos_auth.py | 2 ++
 1 file changed, 2 insertions(+)


[airflow] 01/01: Fix airflow-webserver startup errors when using Kerberos Auth (#10047)

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 4e98e4efd3502c161f1eab28d99e6e10a1890eb4
Author: Kurganov <ku...@gmail.com>
AuthorDate: Wed Jul 29 17:17:06 2020 +0300

    Fix airflow-webserver startup errors when using Kerberos Auth (#10047)
    
    fix airflow-webserer startup errors if airflow.api.auth.backend.kerberos_auth enabled
    
    (cherry picked from commit 87b495b8cfc28c9887eb5dc52ad50eccb71579b6)
---
 airflow/contrib/auth/backends/kerberos_auth.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/airflow/contrib/auth/backends/kerberos_auth.py b/airflow/contrib/auth/backends/kerberos_auth.py
index e84a0b2..63cea8d 100644
--- a/airflow/contrib/auth/backends/kerberos_auth.py
+++ b/airflow/contrib/auth/backends/kerberos_auth.py
@@ -20,7 +20,9 @@
 import logging
 import flask_login
 from airflow.exceptions import AirflowConfigException
-from flask_login import current_user
+# Need to expose these downstream
+# flake8: noqa: F401
+from flask_login import current_user, login_required, logout_user
 from flask import flash
 from wtforms import Form, PasswordField, StringField
 from wtforms.validators import InputRequired