Serve Different Content Based on User Data

Thanks for the tutorial. There is one thing that I didn’t quite understand.
I think that a user should only be able to delete/update the Business it belongs to. And not any Business.
To me it seems that in this example any user can update any Business.
If this example is meant to be so that any user can update any Business, then please direct me to where I can find an example on how to restrict update/delete so that only he user that has a relation to the Business can do update/delete.

1 Like