Collection Permissions in different pages

Hi all,
I would like some help with my website.

This is site to write comments as a member author through a form, then anyone would be able to see it but only the author could edit or delete the comment.

What I have so far is a ‘Comments’ collection set as Member Author for read, create, update and delete content.
-A page where Site Member can upload a comment through a form.
-Another page where Site Member can see its own comments and edit them.
-I am trying to add one more page where ANYONE can only read all comments from all different authors in that collection.

I read about ‘WixDataOptions’ but I have no clue how to implement it.

I will appreciate your help on this.

Hi Matias,

the data collection permissions are per db collection and not per page. they are enforced in the backend servers rather than in javascript in the browser
i think that for for the use case you described it will be best to config the collection permissions to delete only for ‘site member author’

good luck!
Shlomi

Hi Matias,
As Shlomi mentioned, permissions are set per collection and not per page.
You can edit the current collection permissions.
If you wish to allow site members to add comments and update them, you should make sure under “who can create content from for this collection” to choose site member , and for “who can update content to this collection” to choose site member author (so only logged-in users can create comments, and update only their own comments).
Lastly make sure under “who can read content from this collection” to select site member if you want a site member to be able to view all other members comments, or anyone if you want to allow non-members to see the submitted comments.

Let me know if that helped.