Household Assets for members #85
Notifications
Due Date
No due date set.
Blocks
Depends on
#87 Edit and archive Assets
bobby/hapi
#88 Household grants and Scopes for Bots
bobby/hapi
#89 Personal Measurements for their owner
bobby/hapi
#98 Asset meters and Readings
bobby/hapi
#100 Record standalone Services
bobby/hapi
#102 Floating Tasks with computed due state
bobby/hapi
#80 Issue a Token and authenticate with it
bobby/hapi
Reference: bobby/hapi#85
Reference in new issue
Block a user
Part of #73 (spec: #72)
What to build
Household members can create and fetch Maintenance Assets as Household data. This is the first owner-mixin table. It brings
ownerand Recorded by on every record,SET LOCAL hapi.principal_idin every request transaction, and Household RLS.hapi principal member <person> on|offsets Household membership. CI checks RLS coverage.Acceptance criteria
hapi principal membertoggles membershipPOSTandGET /v1/maintenance/assets/{id}(name, location, make, model, serial/VIN, installed, warranty, notes); the response carriesowner: householdandrecorded_by404on reads and403on writes, enforced by RLS as well as the apprelrowsecurityor is owned byhapi_app