couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <d...@muse.net.nz>
Subject Re: userCtx extra information
Date Wed, 29 Aug 2012 19:24:36 GMT
On 29 August 2012 08:21, Benoit Chesneau <bchesneau@gmail.com> wrote:
> On Tuesday, August 28, 2012, Aliaksandr Barysiuk wrote:
>
>> Hello,
>>
>> We store some extra information in _users db and now we are looking a way
>> to populate session.userCtx with these extra values. Is it possible at all?
>>
>> Thank you
>>
>> Alex
>>
>
> user db isn't done for that. this db exists to authenticate users and only
> that. You should better save the profiles in another db. Also there is no
> such things like session in couchdb by itself.
>
>
> benoƮt

Any good reasons why we couldn't / shouldn't support something that
eases this pain? Putting in a second db simply to store some basic
profile info seems daft. And as others have found, you can store
anything you like in roles.

A+
Dave

Mime
View raw message