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 · 1.9 KB · 52 lines
| 1 | { |
| 2 | "id": "app-events", |
| 3 | "name": "Events", |
| 4 | "version": "0.2.1", |
| 5 | "description": "Calendar events: meetings, workshops, and gatherings with attendees, projects, and search. 0.2.0 deletes the bespoke /calendar page object (a quick-add form around one generator call, no rule in it): the page is a seeded view over one `list` block, the month grid still comes from the events schema (views.list_mode calendar) and the Add panel is the schema's own form, so every field the quick-add strip lacked is now enterable too. The calendar lives at /calendar because /events is the server's built-in event-delivery API. 0.2.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 (events.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 | "app-contacts", |
| 12 | "app-views" |
| 13 | ], |
| 14 | "objects": [], |
| 15 | "schemas": [ |
| 16 | { |
| 17 | "collection": "events", |
| 18 | "path": "schemas/events.json" |
| 19 | } |
| 20 | ], |
| 21 | "permissions": [ |
| 22 | { |
| 23 | "path": "permissions/rules.json" |
| 24 | } |
| 25 | ], |
| 26 | "seed": [ |
| 27 | { |
| 28 | "collection": "events", |
| 29 | "path": "seed/events.tsv" |
| 30 | }, |
| 31 | { |
| 32 | "collection": "views", |
| 33 | "path": "seed/views.tsv" |
| 34 | }, |
| 35 | { |
| 36 | "collection": "site_routes", |
| 37 | "path": "seed/site_routes.tsv" |
| 38 | } |
| 39 | ], |
| 40 | "migrations": [], |
| 41 | "nav": [ |
| 42 | { |
| 43 | "id": "calendar", |
| 44 | "label": "Calendar", |
| 45 | "path": "/calendar", |
| 46 | "blurb": "Events with attendees, dates and project links", |
| 47 | "surface": "member", |
| 48 | "group": "Work", |
| 49 | "order": 70 |
| 50 | } |
| 51 | ] |
| 52 | } |