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 · 974 bytes · 35 lines
1{
2 "rules": [
3 {
4 "effect": "allow",
5 "principal": "registered",
6 "actions": ["create", "read", "update", "delete"],
7 "collection": "notes",
8 "row_filter": {"owner_id": "$user_id"},
9 "reason": "signed-in users manage their own notes"
10 },
11 {
12 "effect": "allow",
13 "principal": "public",
14 "actions": ["read"],
15 "collection": "notes",
16 "row_filter": {"is_public": "true"},
17 "reason": "notes marked public are readable by anyone"
18 },
19 {
20 "effect": "allow",
21 "principal": "registered",
22 "actions": ["read"],
23 "collection": "notes",
24 "row_filter": {"project_id": "$accessible_projects"},
25 "reason": "notes in projects shared with a user are readable"
26 },
27 {
28 "effect": "allow",
29 "principal": "public",
30 "actions": ["execute"],
31 "object_id": "site_notes",
32 "reason": "the notes page is public; it shows a sign-in prompt to visitors"
33 }
34 ]
35}