So I wanted to do the following
1. have users create documents
2. only allow the user that created the document to edit the document (i.e.
in the sync function check the "owner" attribute to be the same as the
authenticated user)
3. allow everyone see the document (i.e. put it in a "public" chan
On Oct 16, 2015, at 7:14 AM, Seung Chan Lim
mailto:djs...@gmail.com>> wrote:
1. have users create documents
2. only allow the user that created the document to edit the document (i.e. in
the sync function check the "owner" attribute to be the same as the
authenticated user)
3. allow everyone s
On Friday, October 16, 2015 at 11:25:19 AM UTC-7, Jens Alfke wrote:
>
>
> On Oct 16, 2015, at 7:14 AM, Seung Chan Lim wrote:
>
> 1. have users create documents
> 2. only allow the user that created the document to edit the document
> (i.e. in the sync function check the "owner" attribute to be
Ah... roles... Yes, indeed.
It occurs to me that "codename-" prefix is unnecessary.
Am I right?
slim
On Friday, October 16, 2015 at 2:25:19 PM UTC-4, Jens Alfke wrote:
>
>
> On Oct 16, 2015, at 7:14 AM, Seung Chan Lim > wrote:
>
> 1. have users create documents
> 2. only allow the user that cr
I like to use a prefix so that if it have roles I'm using for this aliasing
feature, they don't get mixed up with roles I'm using for something else.
The prefix should be unique in your app, but maybe pick something shorter
than "codename".
Chris
On Friday, October 16, 2015 at 3:00:11 PM UTC-7
So the only reason you have the prefix is because you have a list of roles
to manage for your app, and you want to visibly discern which of them
belong to this "feature" and which don't?
On Friday, October 16, 2015 at 9:26:56 PM UTC-4, J. Chris Anderson wrote:
>
> I like to use a prefix so tha
On Oct 16, 2015, at 8:10 PM, Seung Chan Lim
mailto:djs...@gmail.com>> wrote:
So the only reason you have the prefix is because you have a list of roles to
manage for your app, and you want to visibly discern which of them belong to
this "feature" and which don't?
It helps ensure uniqueness to