Extends the security rules from pull request #4 to also provide write protection to user data. So only the users themselves can edit their data, except host requests, which can also be created and updated by the one who is requesting the hosting.
Read protection to user data is going to be more complicated as we'd have to pick apart the user data which should be readable to other users from the user data that should not be. That's a bit more involved and I'm going to have a look what my next step is going to be.
These rules, like the previous version, have been deployed already (by accident this time, hitting the wrong key combo in the Security Rules Playground).
Extends the security rules from pull request #4 to also provide write protection to user data. So only the users themselves can edit their data, except host requests, which can also be created and updated by the one who is requesting the hosting.
Read protection to user data is going to be more complicated as we'd have to pick apart the user data which should be readable to other users from the user data that should not be. That's a bit more involved and I'm going to have a look what my next step is going to be.
These rules, like the previous version, have been deployed already (by accident this time, hitting the wrong key combo in the Security Rules Playground).