ruanwenjun opened a new pull request, #18564: URL: https://github.com/apache/dolphinscheduler/pull/18564
## Was this PR generated or assisted by AI? YES. The implementation and tests were assisted by AI and reviewed locally. ## Purpose of the pull request Align the datasource authorization list APIs with the related grant operation and keep their responses focused on the user management page requirements. Closes #18563. ## Brief change log - Limit datasource authorization list APIs to administrators. - Return only datasource id and name. - Query only the fields required by the authorization page. - Add regression coverage for permissions and response fields. ## Verify this pull request This change added tests and can be verified with `DataSourceMapperTest`, `DataSourceServiceTest`, and `DataSourceControllerTest`. -- 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]
