Skip to content

Commit

Permalink
Add warning to deprecated api docs that access control isn't applied (#…
Browse files Browse the repository at this point in the history
…40129)

(cherry picked from commit 85be186)
  • Loading branch information
jedcunningham authored and utkarsharma2 committed Jul 1, 2024
1 parent 60c0c7a commit b868630
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/config_templates/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
5 changes: 5 additions & 0 deletions docs/apache-airflow/deprecated-rest-api-ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/``.
Expand Down

0 comments on commit b868630

Please sign in to comment.