aservo / ldap-crowd-adapter

An LDAP server that delegates request to Atlassian Crowd
Apache License 2.0
2 stars 3 forks source link

Hotfix / username changes result in duplication #22

Closed brettaufheber closed 1 year ago

brettaufheber commented 1 year ago

Because usernames are used as ID (primary key) the username cannot be changed. The workaround:

  1. Detect username change
  2. Create new user
  3. Assign groups from the old user to the new one
  4. Delete old user
sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 6 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication