Just to close the loop on this - I came up with a concept that fits our 
requirements and yet doesn't require us to manage different arrays for 
different permissions.

Within the member array we create strings like 
"administrator:[email protected]" and "viewer:[email protected]" and 
use the first substring (:) for internal app logic to determine the 
permission level while using the second substring for channel creation. 
Works great...

Thanks again

On Monday, October 13, 2014 6:42:25 PM UTC-7, Christoph Berlin wrote:
>
>  Ok great – and I just realized by reading my own question that I must 
> have had a brain freeze. Obviously it sufficient to have them assign to one 
> channel and done.
>
>  Thanks again
>
>   From: Jens Alfke <[email protected]>
> Reply-To: "[email protected]" <
> [email protected]>
> Date: Monday, October 13, 2014 at 6:08 PM
> To: "[email protected]" <[email protected]
> >
> Subject: Re: Complex permission scheme beyond channels
>  
>   
>  On Oct 13, 2014, at 5:23 PM, Christoph Berlin <[email protected]> 
> wrote:
>
>  As a matter of fact I was wondering about that in the sample in general 
> - Tasks don't have members assigned. Does that mean that they are 
> accessible by anyone except that I use the list object as a "filter"?
>  
>  
> No, each task is assigned to a per-list channel (which has the same name 
> as its list), and the list document controls who has access to that channel.
>
>  —Jens
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "Couchbase Mobile" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/mobile-couchbase/jMusJopFBr0/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mobile-couchbase/D05498C4-7018-439B-A0B3-59FC195B8FC4%40couchbase.com
>  
> <https://groups.google.com/d/msgid/mobile-couchbase/D05498C4-7018-439B-A0B3-59FC195B8FC4%40couchbase.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>   

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/c0a9ed9c-1126-4d54-9290-1184454b70de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to