Skip to content

[Bug][API] Validate datasource access in task definition lifecycle #18565

Description

@ruanwenjun

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

Task definition lifecycle operations do not consistently validate access to datasources referenced by task parameters.

What you expected to happen

Datasource access should be validated before task or workflow definitions are saved, switched to another version, or brought online.

How to reproduce

  1. Use a task type that references a datasource.
  2. Save or activate it through a task or workflow definition API.
  3. Observe that datasource access validation is not consistently applied.

Anything else

No response.

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

  • I agree to follow this project Code of Conduct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions