diff --git a/airflow/www/decorators.py b/airflow/www/decorators.py
index <HASH>..<HASH> 100644
--- a/airflow/www/decorators.py
+++ b/airflow/www/decorators.py
@@ -102,7 +102,7 @@ def has_dag_access(**dag_kwargs):
         @functools.wraps(f)
         def wrapper(self, *args, **kwargs):
             has_access = self.appbuilder.sm.has_access
-            dag_id = request.args.get('dag_id')
+            dag_id = request.values.get('dag_id')
             # if it is false, we need to check whether user has write access on the dag
             can_dag_edit = dag_kwargs.get('can_dag_edit', False)
[AIRFLOW-<I>] Fix request arguments in has_dag_access (#<I>)

has_dag_access needs to use request arguments from both

request.args and request.form.



This is related to the changes made in AIRFLOW-<I>/#<I>.