o-nikolas commented on code in PR #62077: URL: https://github.com/apache/airflow/pull/62077#discussion_r2819749218
########## airflow-core/docs/core-concepts/auth-manager/simple/index.rst: ########## @@ -75,6 +75,42 @@ Here is the list of roles defined in simple auth manager. These roles can be ass * **op**. **user** permissions plus all permissions on pools, assets, config, connections and variables * **admin**. All permissions +Multi-team +---------- + +When multi-team mode is enabled, users can be associated with one or more teams. Teams provide resource isolation, +allowing users to access only resources (DAGs, connections, variables, pools) that belong to their teams. + +To enable multi-team mode: + +.. code-block:: ini + + [core] + multi_team = True + +Once enabled, you can assign teams to users by adding a third parameter separated by a colon. +Multiple teams are separated by a pipe (``|``) character: + +.. code-block:: ini + + [core] + multi_team = True + simple_auth_manager_users = "bob:admin:team1|team2,peter:viewer:team1,alice:op:team2" + +In this example: + +* **bob** is an **admin** Review Comment: I know it's obvious, but since you were explicit with the next to, I think it's worth it to do the same here? ```suggestion * **bob** is an **admin** with access to both **team1** and **team2** resources ``` -- 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]
