You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bo...@apache.org on 2017/01/13 20:17:11 UTC
incubator-airflow git commit: [AIRFLOW-692] Open XCom page to
super-admins only
Repository: incubator-airflow
Updated Branches:
refs/heads/master 8fd65f8ac -> 648bd4e18
[AIRFLOW-692] Open XCom page to super-admins only
Closes #1940 from msumit/AIRFLOW-692
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/648bd4e1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/648bd4e1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/648bd4e1
Branch: refs/heads/master
Commit: 648bd4e18d13feeecd6948f121b2772d9404afde
Parents: 8fd65f8
Author: Sumit Maheshwari <su...@gmail.com>
Authored: Fri Jan 13 21:17:04 2017 +0100
Committer: Bolke de Bruin <bo...@xs4all.nl>
Committed: Fri Jan 13 21:17:04 2017 +0100
----------------------------------------------------------------------
airflow/www/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/648bd4e1/airflow/www/views.py
----------------------------------------------------------------------
diff --git a/airflow/www/views.py b/airflow/www/views.py
index 5de6855..800275a 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -2249,7 +2249,7 @@ class VariableView(wwwutils.DataProfilingMixin, AirflowModelView):
form.val.data = '*' * 8
-class XComView(wwwutils.LoginMixin, AirflowModelView):
+class XComView(wwwutils.SuperUserMixin, AirflowModelView):
verbose_name = "XCom"
verbose_name_plural = "XComs"
page_size = 20