Hi there, is it possible, to make a setting in realtime database, where, only the creator of the content and someone else specified (admin) can change the content?
Actually, im sure this is possible with firebase rules, but i dont know what is the logic of how it would work.
the thing, im trying to avoid, is that some of my documents have a specific number as id and so if an other user tryies to make a document with the same document id (which is possible, if both of them do it a the SAME time, because the rule of what document can be created, is only monitored in frontend.) this means that the one document will be replaced by the other and i dont want that.
AS you can see bellow, in every object, like the no1, there is a uid, the best thing, would be to use that as the identifier if thats possible.
Thanks for any help