Reputation: 11
I am creating a Video Platform with a video player and library. I am storing the videos in google storage bucket and setting the permissions on each video object, who can access the videos in the bucket. When a user login, I want to display the videos only he has access to.
Upvotes: 0
Views: 212
Reputation: 75755
First, you have to authenticate your user. You can use Cloud Identity Platform for this. It's very very close to Firebase Auth.
Then, when an authenticated user upload a video, you have to
Finally, when the user look for their video, you request firestore with the user email, and you have the list of all the Cloud Storage blob that belong to their.
Upvotes: 2