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 · 51 lines
1{
2 "rules": [
3 {
4 "effect": "allow",
5 "principal": "registered",
6 "actions": ["create", "read", "update", "delete"],
7 "collection": "contacts",
8 "row_filter": {"owner_id": "$user_id"},
9 "reason": "signed-in users manage their own contacts"
10 },
11 {
12 "effect": "allow",
13 "principal": "registered",
14 "actions": ["read"],
15 "collection": "contacts",
16 "row_filter": {"project_id": "$accessible_projects"},
17 "reason": "contacts in projects shared with a user are readable"
18 },
19 {
20 "effect": "allow",
21 "principal": "registered",
22 "actions": ["create", "read", "update", "delete"],
23 "collection": "organizations",
24 "row_filter": {"owner_id": "$user_id"},
25 "reason": "signed-in users manage their own organizations"
26 },
27 {
28 "effect": "allow",
29 "principal": "registered",
30 "actions": ["create", "read", "update", "delete"],
31 "collection": "interactions",
32 "row_filter": {"owner_id": "$user_id"},
33 "reason": "signed-in users manage their own interaction log"
34 },
35 {
36 "effect": "allow",
37 "principal": "registered",
38 "actions": ["create", "read", "update", "delete"],
39 "collection": "tags",
40 "row_filter": {"owner_id": "$user_id"},
41 "reason": "signed-in users manage their own tags"
42 },
43 {
44 "effect": "allow",
45 "principal": "public",
46 "actions": ["execute"],
47 "object_id": "site_contacts",
48 "reason": "the contacts page is public; it shows a sign-in prompt to visitors"
49 }
50 ]
51}