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.
dbbasic-package.json · 2.4 KB · 50 lines
| 1 | { |
| 2 | "id": "app-tasks", |
| 3 | "name": "Tasks", |
| 4 | "version": "0.3.1", |
| 5 | "description": "Task lifecycle: status transitions enforced by schema, owner and assignee access, project sharing, and global search. v6 adds task_type/template_id/instructions/metadata; template_id is an optional relation into app-templates' templates collection (soft reference only, like invoices' customer_id -> contacts -- no install-order dependency is declared, matching that precedent). Seeds one 59 detail view + site_routes row (/tasks/{id}) composing task_comments and files as related children -- both soft references too, like template_id; without app-collab/app-files installed those two blocks just show a missing-collection error, the rest of the page still renders. 0.2.0 deletes the bespoke /tasks list page object: it was ~80 lines of chrome around two generator calls with no business logic of its own, and is now a seeded VIEW record over the same `list` block /notes uses. The task detail view gains a `related` block onto template_runs (task_id), so a task's history of attempts renders with the exact same primitive order->order_lines already uses -- no new page, no new client code. 0.3.1: a row a registered user writes could point at anybody's record, because the rules asked only that the new row be the writer's own. Every pointer a non-admin can write now declares relation.requires (tasks.template_id read, tasks.project_id read), so over the API a row points only at a record its writer may see, or, where it moves money, stock or state of what it points at, may update; a record they may not see is answered like a missing one (docs/permissions-model.md, 'Pointing at a record you may not act on').", |
| 6 | "compatibility": { |
| 7 | "dbbasic_object_server": ">=0.1.0" |
| 8 | }, |
| 9 | "dependencies": [ |
| 10 | "app-projects" |
| 11 | ], |
| 12 | "objects": [], |
| 13 | "schemas": [ |
| 14 | { |
| 15 | "collection": "tasks", |
| 16 | "path": "schemas/tasks.json" |
| 17 | } |
| 18 | ], |
| 19 | "permissions": [ |
| 20 | { |
| 21 | "path": "permissions/rules.json" |
| 22 | } |
| 23 | ], |
| 24 | "seed": [ |
| 25 | { |
| 26 | "collection": "tasks", |
| 27 | "path": "seed/tasks.tsv" |
| 28 | }, |
| 29 | { |
| 30 | "collection": "views", |
| 31 | "path": "seed/views.tsv" |
| 32 | }, |
| 33 | { |
| 34 | "collection": "site_routes", |
| 35 | "path": "seed/site_routes.tsv" |
| 36 | } |
| 37 | ], |
| 38 | "migrations": [], |
| 39 | "nav": [ |
| 40 | { |
| 41 | "id": "tasks", |
| 42 | "label": "Tasks", |
| 43 | "path": "/tasks", |
| 44 | "blurb": "Work items whose status moves through enforced transitions", |
| 45 | "surface": "member", |
| 46 | "group": "Work", |
| 47 | "order": 40 |
| 48 | } |
| 49 | ] |
| 50 | } |