You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by da...@apache.org on 2017/02/17 19:46:02 UTC

incubator-airflow git commit: [AIRFLOW-861] make pickle_info endpoint be login_required

Repository: incubator-airflow
Updated Branches:
  refs/heads/master 28cfd2c54 -> 8d93c6b01


[AIRFLOW-861] make pickle_info endpoint be login_required

Testing Done:
- Unittests pass

Closes #2077 from saguziel/aguziel-fix-login-
required


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

Branch: refs/heads/master
Commit: 8d93c6b012114d534e9924d61ab926c2a691938e
Parents: 28cfd2c
Author: Alex Guziel <al...@airbnb.com>
Authored: Fri Feb 17 11:45:45 2017 -0800
Committer: Dan Davydov <da...@airbnb.com>
Committed: Fri Feb 17 11:45:48 2017 -0800

----------------------------------------------------------------------
 airflow/www/views.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/8d93c6b0/airflow/www/views.py
----------------------------------------------------------------------
diff --git a/airflow/www/views.py b/airflow/www/views.py
index 0391775..bda4921 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -640,6 +640,7 @@ class Airflow(BaseView):
         return wwwutils.json_response(d)
 
     @expose('/pickle_info')
+    @login_required
     def pickle_info(self):
         d = {}
         dag_id = request.args.get('dag_id')