Skip to content

Saas Tenant Bug #1122

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

Open
lulifa opened this issue Feb 27, 2025 · 3 comments
Open

Saas Tenant Bug #1122

lulifa opened this issue Feb 27, 2025 · 3 comments
Labels
backlog Long term pending

Comments

@lulifa
Copy link

lulifa commented Feb 27, 2025

Image

当我创建一个新tenant租户的时候,一开始是启用未禁用,登录页面切换租户可以切换,当我将这个租户禁用时间设置今天之前或者直接将这个租户不启用的时候,前端切换租户请求后 还是启用状态 具体如上图所示

@colinin
Copy link
Owner

colinin commented Apr 2, 2025

这是官方模块这么设计的,貌似没有对这个字段做任何处理(包括后端和Ng模块)

@colinin colinin added the backlog Long term pending label Apr 2, 2025
@lulifa
Copy link
Author

lulifa commented Apr 2, 2025

我试了试 用你写的这个api 就没有问题了 不用官方那个api
Image

@colinin
Copy link
Owner

colinin commented Apr 9, 2025

我试了试 用你写的这个api 就没有问题了 不用官方那个api Image

不建议在切换租户时使用这个api,因为它是需要授权的,用户未登录时无权调用,也不建议给客户端授权,否则租户数据将会泄露

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Long term pending
Projects
None yet
Development

No branches or pull requests

2 participants