You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added tab permission verification when restoring tabs from storage
Updated auth store to properly handle tab cleanup during logout
You can examine the suggested modifications here: nxnen8282@143ab6a.
Caution
Advisory: This solution was generated using automated tools, and we strongly recommend reviewing the code thoroughly before implementation. The solution may be partial - please consider it as inspiration for your own implementation.
描述
用户退出登录后,如果更换了另一个拥有同样的路由权限,但不同数据权限的用户,并且对应的路由被keepAlive了,就可能会发生敏感数据泄露等问题
建议的解决方案
在tabStore init的时候,校验一下当前用户是否有权限恢复”上一位“用户的tabs
替代方案
No response
额外的上下文
No response
The text was updated successfully, but these errors were encountered: