Description
Description
My organization is changing the format of the username and email of LDAP users. Well, for Gitea this means two different LDAP accounts, even though for LDAP is still the same user. It would be great to specify in Gitea which LDAP Attribute to use as identifier, for example LDAP provides objectGUID, which I guess it is unique.
In the meantime, I'm willing to update the database manually by changing the relevant foreign ids. But the problem is that I can't find anywhere in the source code where the foreign keys that references the users tables are defined. Would Gitea be kind enough to provide the list of relevant foreign keys columns that need to be updated (i.e: comments table has poster_id, which I guess refers to the users table). I want a reliable source not second guess my choices on columns.
Gitea Version
1.20.0+16-g4d5e3b937
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Download from github releases
Database
None