WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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

Clone this wiki locally