apache / apache/dolphinscheduler

[Feature][API] Associate worker group with tenant

Open
#17,167 2 comments 0 reactions 0 assignees View on GitHub
feature help wanted priority:low
Dominant language
Java
Stars
14.5k
Forks
5.1k
Avg merge
1d 21h
Merged PRs (30d)
29

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.

### Description

We want to isolate worker resources based on different tenants. Currently in dolphinscheduler, when we create worker group, it is not associated with tenant (no such field in t_ds_worker_group)

Also for frontend, after we associated worker group with tenant, we need to ensure that user can only select worker group in his tenant when he tries to start executing workflows, or setting worker group in tasks

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Research direction

Start by examining the t_ds_worker_group schema and the existing worker-group entry points in the backend and frontend. Trace workflow-start and task worker-group selection, then define the tenant association and tenant-scoped selection behavior; done means both paths consistently restrict available worker groups by tenant.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization, backend-api-design, databases, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.