Skip to content

[Multi-team] [Testing] API/UI #62252

@vincbeck

Description

@vincbeck

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:APIAirflow's REST/HTTP APIarea:UIRelated to UI/UX. For Frontend Developers.

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions