Javascript – How can I use $uid in a security rule to enable users to write to a collection for the first time without allowing them to overwrite other users data?
Background I have a website with a public messaging board and want authenticated users to add posts to the collection (writing). However I do not want the users to overwrite posts that dont belong to them (posts from other users).…