jon-qj opened a new issue #6218:
URL: https://github.com/apache/dolphinscheduler/issues/6218


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   branch:dev 
   when a common user who has fixed tenant create a workflow,he can use all 
tenants.This problem has potential safety hazards.
   
   
   
   ### What you expected to happen
   
    when  a common user who has fixed tenants  create a workflow, only assigned 
tenants can be used . 
   
   ### How to reproduce
   
   1、create a ds user and use a common tenant
   
![image](https://user-images.githubusercontent.com/39773194/133391256-6d0e0909-2feb-41e4-84dc-435e7967f6c5.png)
   2、this user logs in and create a workflow and save it.
   
![image](https://user-images.githubusercontent.com/39773194/133391448-26e9b454-9459-469e-adbc-0d6a71669094.png)
   3、he can use all tenants,it is terrible.
   
   ### Anything else
   
   _No response_
   
   ### 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://www.apache.org/foundation/policies/conduct)
   


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