Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-object-server.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-object-server.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-object-server.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 signup: the person chooses the password and name on the confirm page 83c7aa6 2 weeks, 5 days ago History
rules.json · 1.5 KB · 43 lines
1{
2 "rules": [
3 {
4 "effect": "allow",
5 "principal": "registered",
6 "actions": ["create", "read", "update", "delete"],
7 "collection": "message_threads",
8 "row_filter": {"owner_id": "$user_id"},
9 "reason": "a mailbox is private -- signed-in users manage only their own threads, no public read"
10 },
11 {
12 "effect": "allow",
13 "principal": "registered",
14 "actions": ["create", "read", "update", "delete"],
15 "collection": "messages",
16 "row_filter": {"owner_id": "$user_id"},
17 "reason": "a mailbox is private -- signed-in users manage only their own messages, no public read"
18 },
19 {
20 "effect": "allow",
21 "principal": "registered",
22 "actions": ["create", "read", "update", "delete"],
23 "collection": "message_recipients",
24 "row_filter": {"owner_id": "$user_id"},
25 "reason": "a mailbox is private -- signed-in users manage only the recipient rows on their own messages, no public read"
26 },
27 {
28 "effect": "allow",
29 "principal": "registered",
30 "actions": ["create", "read", "update", "delete"],
31 "collection": "message_drafts",
32 "row_filter": {"owner_id": "$user_id"},
33 "reason": "a mailbox is private -- signed-in users manage only their own drafts, no public read"
34 },
35 {
36 "effect": "allow",
37 "principal": "public",
38 "actions": ["execute"],
39 "object_id": "site_inbox",
40 "reason": "the inbox page is public; it shows a sign-in prompt to visitors -- the row-filtered collection API never returns anyone else's mail"
41 }
42 ]
43}