cannot create a document with permission even though there is a user session
This is client side, right?
yes
Uh, I think that's the issue
You cannot set permissions for other people client sided
ohh thats why
So you will need a small function to create the document
my bad
Tell me if doing it server sided solves the issue
tried adding it on the appwrite cloud, it gives a server error
Maybe it's incorrect?
I think I found the problem
ahh nope it still gives an error
yes I found the problem
thank you
is there a way to add document permission in the client side?
I think not. Just permissions for the current user
Just to say functions are very easy to use
What was the problem?
the document has a relationship but the value was null, thats why its giving an error
Oh, I see
I'm still having a hard time understanding functions, mayble a little bit I integrate realtime to my thesis application 🤣
✔ Error creating document with permission
[SOLVED] Error creating document with permission
Recommended threads
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...
- Does 1.9.0 Self Hosted have MongoDB Atla...
I have been playing with the new 1.9.0 update and I am really excited for the MongoDB support. I wanted to ask though if at the current time Appwrite supports b...