JNSimba opened a new pull request, #67937:
URL: https://github.com/apache/doris/pull/67937
### What problem does this PR solve?
Issue Number: None
Related PR: #67851
Problem Summary:
Backport the merged CDC authorization fix to branch-4.1. CDC schema changes
previously relied on a hard-coded admin identity and could fail when admin
credentials changed. The streaming-specific token-authenticated endpoints
resolve the streaming job and execute schema change or schema inspection as its
creator, using the existing ALTER or SHOW privilege checks. The CDC client also
propagates the job creator's Doris username for Stream Load. The branch-4.1
conflict resolution preserves its existing database-name normalization in
TableSchemaAction.
### Release note
CDC schema changes and schema inspection use the streaming job creator
identity on branch-4.1.
### Check List (For Author)
- Test:
- FE Checkstyle: passed (0 violations).
- git diff --check: passed.
- Unit and regression tests: not rerun on branch-4.1; the source PR was
tested on master.
- Behavior changed: Yes. CDC schema changes and schema inspection use the
job creator identity.
- Does this need documentation: No.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]