kubitron / redmine_git_hosting

A ChiliProject/Redmine plugin which makes configuring your own git hosting easy.
78 stars 15 forks source link

Keys lost after change in Redmine username #54

Closed kubitron closed 12 years ago

kubitron commented 12 years ago

It turns out that keys are not properly renamed when a user's username changes. Next update to user will kill off old key.

Alternatively, on next RESYNC_ALL, old keys will be removed and new ones will not be added. This behavior is described at the bottom of issue #42, but deserves a separate bug report.

kubitron commented 12 years ago

Ok. This (should) be fixed. Had to introduce a method for renaming key identifiers in this weird circumstance. Seems to work fine now. Note that a RESYNC_ALL will fix a bad configuration that might have arisen earlier.