Open reginapizza opened 5 years ago
Part of MVP for this project is having user ownership on our "upload" resource described in #1
Our model will have an owner field that will reference a User model that owns that Upload.
owner
User
Upload
Stretch:
Part of MVP for this project is having user ownership on our "upload" resource described in #1
Our model will have an
owner
field that will reference aUser
model that owns thatUpload
.User
modelUser
has routes for sign in, sign up, change password, and sign outUpload
not only has theowner
field but that our routes enforce that ownershipStretch: