You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/29 18:24:11 UTC

[GitHub] [airflow] ShakaibKhan commented on a change in pull request #18557: Warning of public exposure of deployment in UI with on/off config

ShakaibKhan commented on a change in pull request #18557:
URL: https://github.com/apache/airflow/pull/18557#discussion_r718777228



##########
File path: airflow/www/views.py
##########
@@ -3026,6 +3026,14 @@ def tree_data(self):
         # avoid spaces to reduce payload size
         return htmlsafe_json_dumps(tree_data, separators=(',', ':'))
 
+    def warn_deployment_exposure(self):
+        deployment_warning = "Deployment is exposed to public internet"
+        flash(

Review comment:
       what would be the best way to display the message for admin team? is there some way to post the message only for admin sessions?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org