[Building Sakai] Cheating in Sakai - Merge accounts
Brian Baillargeon
bbailla2 at uwo.ca
Wed Jan 9 10:39:25 PST 2013
Miguel, you require user2's content to merge with user1's content right?
What do require in conflicts? Ie. where user1 has 5 points on a
gradebook item and user2 has 7 points on the same gradebook item?
On 13-01-09 10:57 AM, Matthew Jones wrote:
> I'd probably do it similar to how the "become user" tool switches a
> user. Have some type of user aliases list for users either as a user
> property or as a new column in SAKAI_USER. When the user logs in as a
> user tha has an alias defined, check against the password of the alias
> and have it switch over the session to the user aliased.
>
> https://source.sakaiproject.org/svn/tool/
>
> Trying to break the EID uniquness on SAKAI_USER_ID_MAP seems like it
> would cause too many issues.
>
>
> On Tue, Jan 8, 2013 at 12:04 PM, Miguel Carro Pellicer
> <farreri.sakai at gmail.com <mailto:farreri.sakai at gmail.com>> wrote:
>
> Yes! what i want to do is simply suicidal hahaha
>
> Any hope that works? xD
>
> Miguel.
>
> El 08/01/2013 18:00, Brian Baillargeon escribió:
>> 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 <tel:%2B34%20-%20673%2080%2032%2069>
>>>>
>>>> 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 <mailto: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 <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"
>>>
>>>
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org <mailto: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 <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"
>>
>
> --
>
> 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 <tel:%2B34%20-%20673%2080%2032%2069>
>
> 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
> <mailto: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
> <mailto: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/20130109/5da40cd6/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/20130109/5da40cd6/attachment.jpe
-------------- 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/20130109/5da40cd6/attachment-0001.jpe
More information about the sakai-dev
mailing list