Restricted edit acess but public viewing?

I’m making an app that allows you to create portfolios, how do I make it so that everyone can view the portfolios but only the creator can edit?

Hi @Starpath,

You can link Portfolios collection to Users collection, so that one User can have many Portfolios but each Portfolio belongs only to one user. Set this link upon new Portfolio creation (so that Logged-in User is the owner).

Such relationship will set proper backend structure. There are multiple solutions on the frontend (screens) part. For example, you can create a special page “My Portfolios”, with a list of Portfolios filtered by Logged-in User → Portfolios, and have “Edit” button inside this list (which goes to Edit screen).
And for other users you can create a page “All Portfolios”, with a list without any edit button.

Best,
Victor.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.