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 · 654 bytes · 18 lines
| 1 | { |
| 2 | "rules": [ |
| 3 | { |
| 4 | "effect": "allow", |
| 5 | "principal": "role:admin", |
| 6 | "actions": ["create", "read", "update", "delete"], |
| 7 | "collection": "materialize_definitions", |
| 8 | "reason": "a definition's mapping/trigger shape can generate financial records (journals, depreciation postings); only admins declare generation jobs" |
| 9 | }, |
| 10 | { |
| 11 | "effect": "allow", |
| 12 | "principal": "role:admin", |
| 13 | "actions": ["execute"], |
| 14 | "object_id": "system_materialize_run", |
| 15 | "reason": "manual run-now fires the same generation logic the daemon pass calls -- only an admin who could author the definition may fire it by hand" |
| 16 | } |
| 17 | ] |
| 18 | } |