How to set "Public" permissions for viewing docs or tables? #1501
-
My website needs to display images / data from Firestore. But the permissions seem to be managed / overwritten by Rowy. I can edit the permissions manually and set READ to TRUE for what I want. But it will be overwritten if I create a new table What's the right way to set PUBLIC viewing for a specific Firebase table with Rowy? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @aleph65, You can write your Table rules in your table settings along with Firestore security rules. To set your collection as public and only allow read for all (without auth) and allow write only to admin/owner/editors. You can follow this doc with example code snippets for each table rules and permissions - https://docs.rowy.io/how-to/roles?set-user-roles-tabs=user-management#example-collection-open-to-public. |
Beta Was this translation helpful? Give feedback.
Hi @aleph65, You can write your Table rules in your table settings along with Firestore security rules. To set your collection as public and only allow read for all (without auth) and allow write only to admin/owner/editors. You can follow this doc with example code snippets for each table rules and permissions - https://docs.rowy.io/how-to/roles?set-user-roles-tabs=user-management#example-collection-open-to-public.