Core: learn it Step 12 of 16 on the Full-Stack Developer roadmap
Permissions on the server
Every endpoint must check that the user is logged in and allowed to touch that particular record. Write tests proving one user can never read or edit another user's data.