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
【优化】用户入职状态变更为离职应该限制登录使用 #929
Comments
Canway-shiisa
changed the title
【优化】入职状态变更为离职应该同步变更enabled字段使用户不可用
【优化】【前端】入职状态变更为离职应该同步变更enabled字段使用户不可用
Feb 22, 2023
登录的检测逻辑直接多加一条状态必须在职? 如果离职直接禁止登录 其他地方的逻辑不变 |
+1 用户管理只关注数据自身,不应该关注数据被用于什么场景,然后需要联合变更其他数据 离职不能登录,这个是登录的场景,应该是 登录消费用户管理的数据,即登录时,判断用户的离职状态 需要调整登录的逻辑,支持判断离职状态并提醒具体登录失败原因 |
Canway-shiisa
changed the title
【优化】【前端】入职状态变更为离职应该同步变更enabled字段使用户不可用
【优化】用户入职状态变更为离职应该限制登录使用
Mar 21, 2023
Canway-shiisa
added a commit
to Canway-shiisa/bk-user
that referenced
this issue
Mar 21, 2023
nannan00
pushed a commit
that referenced
this issue
Mar 27, 2023
v2.5.3中实现:登录校验用户在职状态,离职用户限制登录 |
Merged
yuri0528
pushed a commit
to yuri0528/bk-user
that referenced
this issue
May 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
存在的问题
目前用户变更入职状态为离职的时候不会同步变更enbaled字段,这就使得离职状态下用户还能进行正常登录及其他一系列操作
重现方法
点击用户 -> 进行编辑 -> 将用户的
在职状态
字段变更为离职
-> 使用该用户进行登录测试及其他用户管理相关操作理想行为
离职状态的用户不应该能正常登录及进行用户管理的其他操作
版本
当前最新版仍旧存在该问题
额外信息
处理:前端可以在该字段更新为离职的时候 同步变更enabled字段为0
The text was updated successfully, but these errors were encountered: