View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011475 | mantisbt | administration | public | 2010-02-05 04:08 | 2017-03-13 07:09 |
Reporter | jurgenhaas | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Product Version | 1.2.0rc2 | ||||
Summary | 0011475: Merging users and multiple email addresses per user | ||||
Description | I was wondering if it was possible to merge two user accounts into one. This often happens when you allow reporting via email and create user accounts automatically. If your customers are using different user accounts they then end up with multiple accounts and that's annoying to them and somehow for the hoster of Mantis as well. So it would be great to be able to merge two accounts into one and at the same time assigne multiple email addresses to one user account so that in the future the user is identified properly when reporting tickets via email again. | ||||
Tags | No tags attached. | ||||
related to | 0010207 | feedback | Allow multiple valids emails address per account (patch attached) |
Has anyone else had the requirement before? Or even better: has anyone else worked on a solution for this before? If not, I would probably go into developing my own plugin for these two problems but appreciate any sort of help, thoughts or suggestions. |
|
Some thoughts to start: Check that an administrator is logged in. Check which of the two accounts to be merged has higher global (not project specificc) access level Let the administrator decide which user will be removed. Lets call the users A and B, where B is the remaining user Update the column user_id to B where user_id is A in the following tables Update the column reporter_id to B where reporter_id is A in table mantis_bugnote_table Update the column reporter_id, handler_id from A to B in table mantis_bug_table Remove one row in mantis_user_table, mantis_user_pref_table and mantis_user_print_pref_table As I am no experienced developer of MantisBT I hope that another developer finds the time to have a look at this proposal. |
|
@jurgenhaas |
|
@libregeek : maybe 0022225 is a solution for you |
|
@dlm Please note that this plugin has a dependency on the Email Reporting Plugin. |
|