vincbeck opened a new issue, #62252: URL: https://github.com/apache/airflow/issues/62252
_All these steps can be done per auth manager supporting multi-team: simple auth manager and Keycloak auth manager._ # Test 1. Dags UI team filtering - Define Dag bundle with team assignment - Verify team member can see the team Dag bundle Dags when listing Dags - Verify team member can access one Dag details from this team Dag bundle - Verify non-team member cannot see the team Dag bundle Dags when listing Dags - Verify non-team member cannot access any Dag details from the team Dag bundle # Test 2. DAG operations by team - Trigger DAG run (team member vs non-member) - Pause/unpause DAG (team member vs non-member) - Clear DAG run (team member vs non-member) # Test 3. Dags UI multi-team team filtering - Assign more than one Dag bundle to one team - Verify team member can see the Dags from all the bundles when listing Dags - Verify team member can access one Dag details from one of the bundles - Verify non-team member cannot see the Dags from the bundles when listing Dags - Verify non-team member cannot access any Dag details from the team Dag bundles # Test 4. Team UI API - Call list team UI API - Verify it lists all the teams the user belongs to. Test it with one team assignment and several teams assignment. # Test 5. Variable UI team filtering - Create variable with team assignment - Verify team member can see the team variable when listing variables - Verify team member can access the team variable details - Verify non-team member cannot see the team variable when listing variables - Verify non-team member cannot access the team variable details # Test 6. Multi-team variable UI team filtering - Create variable X with team A assignment - Create variable Y with team B assignment - As a user belonging to team A and B, ensure you can see both variables when listing variables - Ensure the appropriate team is displayed in the variable list # Test 7. Connection UI team filtering - Create connection with team assignment - Verify team member can see the team connection when listing connections - Verify team member can access the team connection details - Verify non-team member cannot see the team connection when listing connections - Verify non-team member cannot access the team connection details # Test 8. Multi-team connection UI team filtering - Create connection X with team A assignment - Create connection Y with team B assignment - As a user belonging to team A and B, ensure you can see both connections when listing connections - Ensure the appropriate team is displayed in the connection list # Test 9. Pool UI team filtering - Create pool with team assignment - Verify team member can see the team pool when listing pools - Verify team member can access the team pool details - Verify non-team member cannot see the team pool when listing pools - Verify non-team member cannot access the team pool details # Test 10. Multi-team pool UI team filtering - Create pool X with team A assignment - Create pool Y with team B assignment - As a user belonging to team A and B, ensure you can see both pools when listing pools - Ensure the appropriate team is displayed in the pool list -- 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]
