couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aliaksandr Barysiuk <a.barys...@gmail.com>
Subject Re: userCtx extra information
Date Wed, 29 Aug 2012 06:10:47 GMT
We used one of the roles to store all needed information. The role can be not only string but
json object also. 
Personally i do not like such solution but it is easy and works now.

Alex

On 28/08/12 20:51, john.tiger wrote:
> On 08/28/2012 10:51 AM, Robert Newson wrote:
>> the contents of session.userCtx are not customisable beyond the "name" and "roles"
fields.
>
> does it make sense to have another doc type for each user that contains the extra info
- then have a view that checks 
> values from both userCtx and the additional doc type ?
>
>


Mime
View raw message