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 · 65 lines
1{
2 "rules": [
3 {
4 "effect": "allow",
5 "principal": "registered",
6 "actions": [
7 "create",
8 "read",
9 "update",
10 "delete"
11 ],
12 "collection": "tasks",
13 "row_filter": {
14 "owner_id": "$user_id"
15 },
16 "reason": "signed-in users manage tasks they created"
17 },
18 {
19 "effect": "allow",
20 "principal": "registered",
21 "actions": [
22 "read",
23 "update"
24 ],
25 "collection": "tasks",
26 "row_filter": {
27 "assigned_to": "$user_id"
28 },
29 "reason": "assignees see and progress tasks assigned to them"
30 },
31 {
32 "effect": "allow",
33 "principal": "registered",
34 "actions": [
35 "read"
36 ],
37 "collection": "tasks",
38 "row_filter": {
39 "project_id": "$accessible_projects"
40 },
41 "reason": "tasks in projects shared with a user are readable"
42 },
43 {
44 "effect": "allow",
45 "principal": "registered",
46 "actions": [
47 "read"
48 ],
49 "collection": "tasks",
50 "row_filter": {
51 "id": "$shared_records"
52 },
53 "reason": "a task explicitly shared with this user (capabilities.shareable via record_shares) is readable"
54 },
55 {
56 "effect": "allow",
57 "principal": "public",
58 "actions": [
59 "execute"
60 ],
61 "object_id": "site_tasks",
62 "reason": "the tasks page is public; it shows a sign-in prompt to visitors"
63 }
64 ]
65}