askrobots / dbbasic-object-server
Public
Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
danq9
signup: the person chooses the password and name on the confirm page
83c7aa6
2 weeks, 5 days ago
History
rules.json · 352 bytes · 12 lines
| 1 | { |
| 2 | "rules": [ |
| 3 | { |
| 4 | "effect": "allow", |
| 5 | "principal": "registered", |
| 6 | "actions": ["create", "read", "update", "delete"], |
| 7 | "collection": "entities", |
| 8 | "row_filter": {"owner_id": "$user_id"}, |
| 9 | "reason": "signed-in users manage their own entities (sets of books); books are private to their owner, no public read" |
| 10 | } |
| 11 | ] |
| 12 | } |