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|
|Summary||0011475: Merging users and multiple email addresses per user|
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.|
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.
Please note that this plugin has a dependency on the Email Reporting Plugin.
|2010-02-05 04:08||jurgenhaas||New Issue|
|2010-04-16 05:52||jurgenhaas||Note Added: 0025140|
|2010-04-16 08:00||atrol||Note Added: 0025144|
|2013-12-12 06:50||libregeek||Note Added: 0038851|
|2014-10-05 06:10||atrol||Relationship added||related to 0010207|
|2017-03-02 11:05||dlm||Note Added: 0055874|
|2017-03-13 07:09||libregeek||Note Added: 0056051|