Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.

9 downloads

Install on DigitalOcean 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.

Daniel Quellhorst Changelog for this batch. 65ef78d 3 hours, 41 minutes ago History
rules.json · 1.7 KB · 43 lines
1{
2 "rules": [
3 {"effect": "deny", "principal": "owner_fallback", "actions": ["update", "delete"], "collection": "ai_usage", "reason": "the cost record is append-only and only the chat handler writes it. No rule grants this; the engine's owner fallback did, to whoever the row's owner key names. This switches the fallback off for these actions only: an explicit grant still grants, and admins and in-process writers are unaffected"},
4 {
5 "effect": "allow",
6 "principal": "registered",
7 "actions": ["create", "read", "update", "delete"],
8 "collection": "shell_preferences",
9 "row_filter": {"id": "$user_id"},
10 "reason": "each user manages their own shell preferences row"
11 },
12 {
13 "effect": "allow",
14 "principal": "registered",
15 "actions": ["create", "read", "delete"],
16 "collection": "shell_commands",
17 "row_filter": {"owner_id": "$user_id"},
18 "reason": "each user owns their shell history"
19 },
20 {
21 "effect": "allow",
22 "principal": "public",
23 "actions": ["execute"],
24 "object_id": "site_shell",
25 "reason": "the shell page is public; it shows a sign-in prompt to visitors"
26 },
27 {
28 "effect": "allow",
29 "principal": "public",
30 "actions": ["execute"],
31 "object_id": "site_talk",
32 "reason": "the talk page is public; it shows a sign-in prompt to visitors, same as the shell"
33 },
34 {
35 "effect": "allow",
36 "principal": "registered",
37 "actions": ["read"],
38 "collection": "ai_usage",
39 "row_filter": {"owner_id": "$user_id"},
40 "reason": "each user can see their own AI token/cost history; only the chat handler writes it"
41 }
42 ]
43}