Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tenant): add tenant mode/id for jwt app, and tenant_id for jwt user #206

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

wklken
Copy link
Collaborator

@wklken wklken commented Dec 23, 2024

  • middleware 中 request.app/request.user 增加租户相关信息
  • 调用网关接口指定一个占位的 X-Bk-Tenant-Id 以通过校验

@wklken wklken requested a review from Han-Ya-Jun December 23, 2024 12:11
@wklken
Copy link
Collaborator Author

wklken commented Dec 23, 2024

需要出:

  1. pypi 包
  2. 镜像

@wklken wklken merged commit 9b78eb9 into TencentBlueKing:master Dec 24, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants