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.4 KB · 61 lines
1{
2 "rules": [
3 {
4 "effect": "allow",
5 "principal": "registered",
6 "actions": [
7 "create",
8 "read",
9 "update",
10 "delete"
11 ],
12 "collection": "files",
13 "row_filter": {
14 "owner_id": "$user_id"
15 },
16 "reason": "signed-in users manage their own files"
17 },
18 {
19 "effect": "allow",
20 "principal": "public",
21 "actions": [
22 "read"
23 ],
24 "collection": "files",
25 "row_filter": {
26 "is_public": "true"
27 },
28 "reason": "files marked public are downloadable by anyone"
29 },
30 {
31 "effect": "allow",
32 "principal": "registered",
33 "actions": [
34 "read"
35 ],
36 "collection": "files",
37 "row_filter": {
38 "project_id": "$accessible_projects"
39 },
40 "reason": "files in projects shared with a user are readable"
41 },
42 {
43 "effect": "allow",
44 "principal": "public",
45 "actions": [
46 "execute"
47 ],
48 "object_id": "site_files",
49 "reason": "the files page is public; it shows a sign-in prompt to visitors"
50 },
51 {
52 "effect": "allow",
53 "principal": "public",
54 "actions": [
55 "execute"
56 ],
57 "object_id": "site_attachments",
58 "reason": "the attachment widget is a public static script (like site_files/site_list); the files data it reads is still permission-gated per row"
59 }
60 ]
61}