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

tenant verify and validate plugins #93

Open
wants to merge 4 commits into
base: ft_tenant
Choose a base branch
from

Conversation

wklken
Copy link
Collaborator

@wklken wklken commented Dec 12, 2024

Description

  • component bklogin: update to new api
  • plugin bk-tenant-verify: get tenant info of app/user
    • bkauth: get app info, with lrucache/retry/fallback
    • bkuser: get user info, with lrucache/retry/fallback
  • plugin bk-tenant-validate: validate the requests, cross-tenant calls are not allowed.

Checklist

  • 填写 PR 描述及相关 issue (write PR description and related issue)
  • 代码风格检查通过 (code style check passed)
  • PR 中包含单元测试 (include unit test)
  • 单元测试通过 (unit test passed)
  • 本地开发联调环境验证通过 (local development environment verification 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.

1 participant