couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joscha Feth <jos...@feth.com>
Subject Re: Modeling question
Date Tue, 05 Jan 2010 19:01:16 GMT
On 05.01.10 19:52, Chris Anderson wrote:
>> I don't see how that can help when a user requests a C without knowing that
>> it is a C and has a parent B and A. I still need to either allow access or
>> deny it. I don't see how something like this is possible with CouchDB out of
>> the box, as I don't have the ability to make another request.
>
> This is why modeling as a key/value store will be simpler. If you
> store the permissions on C itself, A and B become irrelevant.

Yes, but that would mean that I can not have any inheritance from A->C 
and also it would mean that if someone changes access on A or B I need 
to distribute that change to possibly millions of C's to keep them in sync.

regards,
Joscha


Mime
View raw message