[Bug 474840] [pmi] Clean up bogus user records and project relationships
Bugzilla Link | 474840 |
Status | NEW |
Importance | P3 major |
Reported | Aug 12, 2015 15:55 EDT |
Modified | Jul 16, 2021 06:06 EDT |
Description
When a committer id changes, we end up with bogus and very often redundant project/committer relationships.
The PMI automatically creates user accounts on Drupal instances using information from the Foundation database: when an existing Drupal account cannot be found--using the committer id as the search criteria--one is created.
These Drupal accounts are really just a convenience and their existence/non-existence has no immediate impact on users. Users do all their account interaction through the main Eclipse Foundation account management system.
Just deleting all committer accounts and project/committer relationship records is actually a reasonable option worth considering since the update process will just rebuild them. Before we do that, however, let's consider less dramatic approaches.
We can identify bogus user records by checking whether or not the the committer id matches a uid in LDAP. From there we can identify and remove the bogus committer/project relationships.