rickchengx opened a new pull request, #12702: URL: https://github.com/apache/dolphinscheduler/pull/12702
<!--Thanks very much for contributing to Apache DolphinScheduler. Please review https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html before opening a pull request.--> ## Purpose of the pull request * close: #12700 ## Brief change log Currently, `projectIds` is not used in the SQL of listAuthorizedProjects() as below https://github.com/apache/dolphinscheduler/blob/7d0e2cbbb9fcd2e1543f5166f0518eda03afae89/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.java#L139 https://github.com/apache/dolphinscheduler/blob/7d0e2cbbb9fcd2e1543f5166f0518eda03afae89/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml#L173-L182 So this PR restrict the SQL query scope to `projectIds`, just like in <img width="906" alt="截屏2022-11-04 14 46 41" src="https://user-images.githubusercontent.com/38122586/199909233-4df32c52-f625-4462-907c-9fb72107433d.png"> ## Verify this pull request manually tested -- 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]
