dhkim1920 opened a new issue, #71319:
URL: https://github.com/apache/airflow/issues/71319

   ### Under which category would you file this issue?
   
   Providers
   
   ### Apache Airflow version
   
   3.3.0
   
   ### What happened and how to reproduce it?
   
   When using the Keycloak Auth Manager with multi-team support, the Op-{team} 
permission created by create-team does not include the DAG resource for the 
team.
   
   The issue was noticed while investigating #70251 and #70906.
   
   The Op-{team} permission includes team-scoped resources such as Connection, 
Pool, and Variable, but Dag:{team} is missing.
   
   For example:
   
   Enable multi-team support with the Keycloak Auth Manager.
   Create a team:
   airflow keycloak-auth-manager create-team team-analytics
   Inspect the generated Op-team-analytics permission in Keycloak.
   Check the resources attached to the permission.
   Dag:team-analytics is not included.
   
   As a result, a user with the team Op role does not receive the expected 
permission for the team's DAG resource.
   
   This is separate from the UNANIMOUS decision strategy issue addressed by 
#70906.
   
   ### What you think should happen instead?
   
   The Op-{team} permission should include the corresponding Dag:{team} 
resource.
   
   For example, when creating team-analytics, the Op-team-analytics permission 
should include:
   
   Dag:team-analytics
   
   along with the other team-scoped resources.
   
   ### Operating System
   
   _No response_
   
   ### Deployment
   
   None
   
   ### Apache Airflow Provider(s)
   
   keycloak
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-keycloak==0.8.1
   
   ### Official Helm Chart version
   
   Not Applicable
   
   ### Kubernetes Version
   
   _No response_
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   _No response_
   
   ### Anything else?
   
   This issue is being created separately based on the discussion in #70251 and 
the review of #70906.
   
   The missing team DAG resource is independent of the UNANIMOUS versus 
AFFIRMATIVE decision strategy issue fixed by #70906.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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