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

utkarsharma pushed a commit to branch v2-9-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit b86863059e09789d308a3e00db9cae382d44be48
Author: Jed Cunningham <[email protected]>
AuthorDate: Fri Jun 7 14:04:52 2024 -0600

    Add warning to deprecated api docs that access control isn't applied 
(#40129)
    
    (cherry picked from commit 85be1867a690726b4556a58656597a0606ba09dc)
---
 airflow/config_templates/config.yml             | 4 ++--
 docs/apache-airflow/deprecated-rest-api-ref.rst | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/airflow/config_templates/config.yml 
b/airflow/config_templates/config.yml
index 74e9bcdb09..b7d7bf5372 100644
--- a/airflow/config_templates/config.yml
+++ b/airflow/config_templates/config.yml
@@ -1277,8 +1277,8 @@ api:
   options:
     enable_experimental_api:
       description: |
-        Enables the deprecated experimental API. Please note that these APIs 
do not have access control.
-        The authenticated user has full access.
+        Enables the deprecated experimental API. Please note that these API 
endpoints do not have
+        access control. An authenticated user has full access.
 
         .. warning::
 
diff --git a/docs/apache-airflow/deprecated-rest-api-ref.rst 
b/docs/apache-airflow/deprecated-rest-api-ref.rst
index 276175f97f..cb13323885 100644
--- a/docs/apache-airflow/deprecated-rest-api-ref.rst
+++ b/docs/apache-airflow/deprecated-rest-api-ref.rst
@@ -23,6 +23,11 @@ Deprecated REST API
   This REST API is deprecated since version 2.0. Please consider using the 
:doc:`stable REST API <stable-rest-api-ref>`.
   For more information on migration, see `UPDATING.md 
<https://airflow.apache.org/docs/apache-airflow/stable/howto/upgrading-from-1-10/>`_
 
+.. warning::
+
+  Please note that these API endpoints do not have access control. An 
authenticated user has full access.
+
+
 Before Airflow 2.0 this REST API was known as the "experimental" API, but now 
that the :doc:`stable REST API <stable-rest-api-ref>` is available, it has been 
renamed.
 
 The endpoints for this API are available at ``/api/experimental/``.

Reply via email to