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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...