Rank 7: Quantum Computer
But
From my experience the database module in client side is good for pure CURD methods and the only dynamic option you have is permission based
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 7: Quantum Computer
But
From my experience the database module in client side is good for pure CURD methods and the only dynamic option you have is permission based
Rank 7: Quantum Computer
Maybe it has and I missed something
Moderator
And I think CRUD is just probably the only thing needed for most use-cases
Rank 7: Quantum Computer
Wym?
Moderator
That most apps, except for specific tasks, they just make CRUD. For example social networks or discord.
Create/read/update/delete messages
Rank 7: Quantum Computer
Ohh I got it
Rank 7: Quantum Computer
What do happens is that any document created by any user get this
By default, only the current user is granted all permissions
So you be able to block other users edit of the document
Rank 7: Quantum Computer
But that is only from a permissions aspect and it won't be possible to prevent your userid being falsified
Moderator
Yes, but for example, in discord how do you see who created the message. If you get the message and add a field where there is the user ID, I could create a message and put in such field your user ID so then it will appear as the message was created by you
Moderator
https://appwrite.io/docs/client/databases?sdk=web-default#databasesListDocuments
I can't find anything related, maybe it's possible, but doesn't seems to
Hey @D5 seems like this could be a feature request - let me check if anything regarding this is already put up on our github, if not, do you mind opening a github issue? this way it gets prioritized more!
Moderator
Ok, so confirmed that it's not possible to get the user that created it at this moment?
Moderator
Moderator
Created. Don't forget to 👍 if you think it's needed
thanks!
Moderator
https://github.com/appwrite/appwrite/discussions/3773
That could solve it temporarily
Moderator
Who is what @Binyamin said, making it through a function
Yep, was gonna send it to you - so, yeah no we dont have that right now but
also
take a look here: https://github.com/appwrite/appwrite/issues/3623
Moderator
Didn't found that. I will close the other issue to prevent duplicate
You can just leave a comment closing because backlinking this - and probably upvote 3623 and leave a comment there?
Moderator
That's what I've made
Moderator
Liked the other issue