treeverse / lakeFS

lakeFS - Data version control for your data lake | Git for data
https://docs.lakefs.io
Apache License 2.0
4.46k stars 359 forks source link

[Bug]: New user created with an old ID get back undeleted credentials #8384

Open mickaellcr opened 3 days ago

mickaellcr commented 3 days ago

What happened?

What actually happened, including error codes if applies.

Steps to Reproduce:

  1. Create a User called FOO
  2. Create credentials for this user
  3. Later delete this FOO User
  4. Create a new user called again FOO
  5. Check the credentials, and one is already there. but the user is new

Expected behavior

When deleting a user, all credentials and link to a specific group are deleted (delete in cascade).

lakeFS version

1.32.1

How lakeFS is installed

Kubernetes

Affected clients

API lakeFS 1.32.1 and from the UI too

Relevant log output

No response

Contact details

No response