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.0 KB · 36 lines
1{
2 "rules": [
3 {
4 "effect": "allow",
5 "principal": "registered",
6 "actions": [
7 "create",
8 "update",
9 "delete"
10 ],
11 "collection": "thread_comments",
12 "row_filter": {
13 "owner_id": "$user_id"
14 },
15 "reason": "a signed-in user writes (and edits/removes) only comments they authored"
16 },
17 {
18 "effect": "allow",
19 "principal": "registered",
20 "actions": [
21 "read"
22 ],
23 "collection": "thread_comments",
24 "reason": "signed-in users read comments on records they can reach -- the widget's fetch narrows to one (parent_collection,parent_id) thread; per-parent visibility inheritance is a follow-on (22-thread-spec)"
25 },
26 {
27 "effect": "allow",
28 "principal": "public",
29 "actions": [
30 "execute"
31 ],
32 "object_id": "site_thread",
33 "reason": "the comment thread widget is a public static script (like site_list/site_detail); the thread_comments data it reads is still permission-gated per row"
34 }
35 ]
36}