[Owncloud] Mozilla sync integration project
Jakob Sack
mail at jakobsack.de
Sun Jun 10 20:59:06 UTC 2012
Hello Michal,
first I want to apologise for the late answer (again). I haven't been
at home the last few days and returned just a few hours ago.
I don't see any troubles when the user changes his password. Could you
please describe the problem you see?
Do we really need an email address or is a simple username enough? When
I click at "Iceweasel -> Set up Sync -> I have an Account -> I don't
have the device with me" it asks for account, password and recovery key.
So it seems like the username does not have to be an email address.
I don't see a point in having several usernames and passwords in one
ownCloud instance. In my opinion it is better to drop some features of
the user sync API instead of introducing another user management system.
Additionally an username like jakob at owncloud.org easily could be
confused with an email address.
Regards,
Jakob
Am 10.06.2012 22:03, schrieb Michał Jaskurzyński:
> Hi,
>
> What do you think? Please give me your ideas about this problem.
>
> 2012/6/2 Michał Jaskurzyński <jaskoola at gmail.com>:
>> Hi,
>>
>> Another issue is that sync client change email to some kind of hash
>> and use it as a user name so it will be also need to create user
>> table
>> to map this hash to owncloud user name.
>> There can be also troubles when user change owncloud user password.
>>
>> So, I am waiting for discussion and ideas how to deal with user
>> management.
>>
>> 2012/6/2 Michał Jaskurzyński <jaskoola at gmail.com>:
>>> Hi,
>>>
>>> These approach will cause a lot of trouble for example when users
>>> change email they will lose access to their sync data. In my
>>> opinion
>>> it will be better to have sync login like this:
>>> owncloud_login at owncloud.org or even owncloud_login at anydomain. What
>>> do
>>> you think about it?
>>>
>>> WBR
>>> Michal Jaskurzynski
>>>
>>> 2012/5/26 Jakob Sack <mail at jakobsack.de>:
>>>> Hi,
>>>>
>>>> sorry for the late answer. I've been ways too busy last week.
>>>> On a first glance, the coding style looks fine.
>>>> I aggree with Michael that you should not implement another users
>>>> table. In
>>>> my opinion it's better to solve the problem the following way:
>>>> - in ownCloud the user has to enter it's email address (use the
>>>> same email
>>>> address as in "lost password", it's saved in preferences, appid =
>>>> "settings", configkey = "email"). The user can enter this email
>>>> using the
>>>> settings or the interface in your app.
>>>> - then the user does create a new account in firefox sync. If the
>>>> email does
>>>> not exist or the passwords do not match with the password of the
>>>> user, then
>>>> return an error code.
>>>>
>>>> Regards,
>>>>
>>>> Jakob
>>>>
>>>>
>>>> Am 24.05.2012 20:18, schrieb Michał Jaskurzyński:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Sorry for my late answer. I was moving my code to became an app .
>>>>>
>>>>>> Can you explain to me who the users are that you need to create
>>>>>> and
>>>>>> authenticate? Are these different people using the same Mozilla
>>>>>> sync? Are
>>>>>> these not users on the ownCloud instance?
>>>>>
>>>>>
>>>>> User is mozilla sync service account. To this account user can
>>>>> connect
>>>>> his/her devices. There can't be integrated with existing owncloud
>>>>> users because firefox needs first device to create new account
>>>>> giving
>>>>> email, password and retype password.
>>>>>
>>>>> WBR
>>>>> Michal
>>>>> _______________________________________________
>>>>> Owncloud mailing list
>>>>> Owncloud at kde.org
>>>>> https://mail.kde.org/mailman/listinfo/owncloud
>>>>
>>>>
>>>> _______________________________________________
>>>> Owncloud mailing list
>>>> Owncloud at kde.org
>>>> https://mail.kde.org/mailman/listinfo/owncloud
More information about the Owncloud
mailing list