Upload pdf and attach to a user

Hi!
I need some help with understanding if I can have a user upload a pdf and then link it, and make it only viewable, to another user. The goal of this is to enable a user to view an uploaded file even though they did not upload it themselves.
Thanks!

I would create a new data type called “pdfUpload” or something. Have a data data field called “usersAllowed” to indicate what users are allowed to view the pdf.

Then in your security settings, you can add a role where only users included in the “usersAllowed” field are allowed to see that db entry (pdf).

Would that work for your use case?
Learn no code → nocodify.com

Yes, that sounds good. I’m really new to bubble so can you (or can you point to any resources that) go into a bit more depth in setting up what you are suggesting :slight_smile:

Thanks!