askrobots / dbbasic-object-server
Public
Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
danq9
signup: the person chooses the password and name on the confirm page
83c7aa6
2 weeks, 5 days ago
History
rules.json · 670 bytes · 18 lines
| 1 | { |
| 2 | "rules": [ |
| 3 | { |
| 4 | "effect": "allow", |
| 5 | "principal": "role:admin", |
| 6 | "actions": ["read"], |
| 7 | "collection": "scheduler_runs", |
| 8 | "reason": "scheduled-run history is an admin inspection surface (and drives the /scheduler page's live feed); rows are written server-side by the daemon, never by a client" |
| 9 | }, |
| 10 | { |
| 11 | "effect": "allow", |
| 12 | "principal": "public", |
| 13 | "actions": ["execute"], |
| 14 | "object_id": "system_scheduler", |
| 15 | "reason": "the scheduler page is public execute like every page object; it renders a sign-in/admin prompt to everyone else and gates all data and every POST action on an admin identity itself" |
| 16 | } |
| 17 | ] |
| 18 | } |