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

[yggdrasil-api] 删除角色时不会删除 uuid 表中的对应的记录 #202

Open
tnqzh123 opened this issue Aug 26, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@tnqzh123
Copy link
Member

yggdrasil-api @ 5.1.5,UUID 生成方式为 v4(随机生成)

用户 A 拥有角色 Alice,对应的 UUID 为 aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa

然后用户 A 删除角色 Alice,但是 uuid 表中记录不会被删除,仍然存在一条 name = 'Alice', uuid = 'aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa' 的记录

此时用户 B 新建角色 Alice,请求 /authserver/authenticate,拿到角色对应的 UUID 仍然是 aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa

@mochaaP mochaaP added the bug Something isn't working label Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants