jscheffl commented on code in PR #67606:
URL: https://github.com/apache/airflow/pull/67606#discussion_r3323433645


##########
airflow-core/docs/security/api_permissions_ref.rst:
##########
@@ -0,0 +1,540 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+ ..   http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+.. THIS FILE IS AUTO-GENERATED. DO NOT EDIT MANUALLY.
+   Regenerate with:  python scripts/ci/prek/extract_permissions.py
+   Trigger:          prek run generate-api-permissions-doc --all-files
+
+API Endpoint Permission Reference
+==================================
+
+This page lists the required permission for every endpoint in the stable
+Airflow REST API (``/api/v2``).  It is generated automatically from the
+source code so it stays up to date as endpoints are added or changed.
+
+.. seealso::
+
+    :doc:`/security/api` — for authentication instructions (JWT tokens).
+
+.. note::
+
+    Permissions are enforced by the configured **auth manager**.  The
+    
:class:`~airflow.api_fastapi.auth.managers.base_auth_manager.BaseAuthManager`
+    interface defines the contract; individual auth manager implementations
+    (e.g. the Simple Auth Manager, or the FAB provider) translate these
+    resource/method tuples into their own role/permission models.
+
+.. list-table:: Stable REST API endpoint permissions
+   :header-rows: 1
+   :widths: 7 50 20 13
+
+   * - Method

Review Comment:
   Can you please make the list sorted?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to