-
Notifications
You must be signed in to change notification settings - Fork 0
Access rules for DB
watchtower edited this page Jun 7, 2021
·
1 revision
| collection | what do we write | db rules |
|---|---|---|
| daos | This collection only mirrors the graph db, and is updated by the cloudfujnctions update-dao-by-id and update-daos and update-dao-balance | world readable, no-one can write ever |
| proposals | This collection mostly mirrors the graph db, and is updated by the cloudfujnctions update-proposal-by-id and update-propopals The payment process can write a mangopay ID to the document. | word ready. no-one can write ever |
| discussions | Add new records | No other writing (the data is not changed after it is written) |
| discussionMessage | Add new record: create-discussion-message | No other writing (the data is not changed after it is written) |
| user | User writes and updates her own record with name, photo, ethereumAddress. | Payment process can add mangopay id. |
| notifications | User can read notifications and they are being displayed in the notification screen | read only |
| events | Read data and display in the app | read only |
| subscriptions | Read data and display in the app | read only, when the request was sent from the subscription owner |
| payments | Read data and display in the app | read only |
| votes | Read data and display in the app | read only |