Hi Timothy,

On 05.01.10 20:56, Coffman, Timothy A wrote:
Joscha,
     If you emit every A, B, and C, with keys:
        for A's : [ id_of_self, null, null ]
        for B's : [ id_of_parent, id_of_self, null ]
        for C's : [ id_of_grandparent, id_of_parent, id_of_self ]

Then a query with startkey: [ a, null, null ]  and endkey: [ a, {}, {} ] will 
give you all documents that are A or children of A.  With that set, you could 
determine the appropriate combination of ACL's to use.

I hope I have that right.

I am doing this already, but this only helps on A's, not on B's or C's - any ideas for teh child documents?

regards,
Joscha

Reply via email to