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.3 KB · 43 lines
1{
2 "rules": [
3 {
4 "effect": "allow",
5 "principal": "registered",
6 "actions": ["create", "read", "update", "delete"],
7 "collection": "task_comments",
8 "row_filter": {"owner_id": "$user_id"},
9 "reason": "authors manage their own comments"
10 },
11 {
12 "effect": "allow",
13 "principal": "registered",
14 "actions": ["read"],
15 "collection": "task_comments",
16 "row_filter": {"project_id": "$accessible_projects"},
17 "reason": "comments on shared-project tasks are readable"
18 },
19 {
20 "effect": "allow",
21 "principal": "registered",
22 "actions": ["create"],
23 "collection": "feed_posts",
24 "row_filter": {"owner_id": "$user_id"},
25 "reason": "signed-in users and agents post to the feed as themselves"
26 },
27 {
28 "effect": "allow",
29 "principal": "registered",
30 "actions": ["read"],
31 "collection": "feed_posts",
32 "reason": "the coordination feed is readable by every signed-in collaborator"
33 },
34 {
35 "effect": "allow",
36 "principal": "registered",
37 "actions": ["read", "update", "delete"],
38 "collection": "notifications",
39 "row_filter": {"user_id": "$user_id"},
40 "reason": "users see and clear their own notifications; creation is for operators and agents"
41 }
42 ]
43}