[Building Sakai] Cheating in Sakai - Merge accounts
Brian Baillargeon
bbailla2 at uwo.ca
Tue Jan 8 09:00:13 PST 2013
Nevermind, I see what you're trying to do. This would only transfer the
memberships
On 13-01-08 11:54 AM, Brian Baillargeon wrote:
> Take a look at mergeAccounts() here:
> https://source.sakaiproject.org/svn/reset-pass/trunk/account-validator-impl/src/java/org/sakaiproject/accountvalidator/logic/impl/ValidationLogicImpl.java
>
> Is this what you're looking for?
>
> On 13-01-08 11:43 AM, Miguel Carro Pellicer wrote:
>> Hi suscribers, happy new year from Samoo.
>>
>> I have a "funny" question for you, is it possible to merge two user
>> accounts into one? The main idea is cheat the database replacing the
>> internal ids directly, so the user2 will not exist anymore and all
>> his activity will be associated into user1, replacing their internal ids.
>>
>> YES, OF COURSE, i know it's hard and probably is
>> suicidal....but...should work or not? Any experience with this? I
>> know there is no rollback and probably can generate cache issues, but
>> we have the requirement and we should do it.
>>
>> Thanks in advance! Miguel.
>> --
>>
>> cid:image001.jpg at 01C9F98A.71C74E60<http://www.samoo.es/>
>>
>> <http://www.samoo.es/>
>>
>> *Miguel Carro Pellicer*
>>
>> *Technical Manager - Director técnico*
>>
>> miguel.carro at samoo.es <mailto:miguel.carro at samoo.es>
>>
>> +34 - 673 80 32 69
>>
>> Skype: mcpellicer
>>
>> www.samoo.es <http://www.samoo.es>
>>
>> Este correo y sus archivos asociados son privados y confidenciales
>> y va dirigido exclusivamente a su destinatario. Si recibe este
>> correo sin ser el destinatario del mismo, le rogamos proceda a su
>> eliminación y lo ponga en conocimiento del emisor. La difusión por
>> cualquier medio del contenido de este correo podría ser sancionada
>> conforme a lo previsto en las leyes españolas, Ley Orgánica 15/1999
>> de Protección de Datos de Carácter Personal. No se autoriza la
>> utilización con fines comerciales o para su incorporación a ficheros
>> automatizados de las direcciones del emisor o del destinatario."
>>
>> This mail and its attached files are confidential and are only and
>> exclusively intended to their addressee. In case you may receive this
>> mail not being its addressee, we beg you to let us know the error by
>> reply and to proceed to destroy it. The circulation by any mean of
>> this mail could be penalised in accordance with the Spanish
>> legislation. Is not allowed the use of both, the transmitter and the
>> addressee's, address with a commercial aim, or in order to be
>> incorporated to automated data process or to any kind of files.
>>
>> P Antes de imprimir este correo electrónico piense bien si es
>> necesario hacerlo. El medioambiente es cosa de todos.
>>
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email tosakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130108/9a812fdb/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3022 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130108/9a812fdb/attachment.jpe
More information about the sakai-dev
mailing list