Partners: installers and service companies
sequenceDiagram
participant C as Customer admin (web, Partners)
participant P as Partner admin (Partner Portal, Team)
participant T as Partner's people
C->>P: Give access: organization, manage or support, until when
P->>T: Put people on the grant: manager, support, technician
P->>T: Place technicians on chosen sites
T->>C: Work in the customer's account, within the grant
C-->>T: Revoke: every path ends at once
For customers. In the web app, open Partners:
- Giving access: give an installer or service company access to one organization. You need their account ID.
- Levels:
- Support: see and operate devices.
- Manage: also configure devices, add sites and place technicians.
- Expiry: an end date is optional; access ends by itself then.
- What you see: who from the partner is on each grant.
- Revoke ends everyone's access at once, live connections and schedules included.
- Audit: every grant change is recorded in your audit log and the partner's.
For partners. The Partner Portal (its own app):
- Context bar: the dark band under the header always says which customer you are working in. Switching is an explicit choice.
- Home: three queues: Needs attention (open alarms, offline devices across customers), My installations (assigned to you, due soonest first) and Service (open requests by priority).
- Customers: health, access level and your role for each customer.
- Customer workspace: the customer's own sites and devices, as you, within the grant. What you cannot see is not shown.
- Team (partner admins): put your people on each grant as manager, support or technician. Technicians reach only the sites you tick for them.
How it works:
- A person on a grant uses the customer's normal API with the customer's account ID, and gets exactly what the grant gives. This is checked on every request, and on every live update and background run.
- The customer's two-factor and single sign-on rules apply to partner people too.
Installations and handover
stateDiagram-v2
[*] --> Planned: partner manager starts it
Planned --> InProgress: first checklist step moves
InProgress --> Validating: Site prepared, Gateway, Devices done
Validating --> WithCustomer: partner sends for handover
WithCustomer --> InProgress: customer sends back (with a problem)
WithCustomer --> HandedOver: customer accepts
For partners.
- Start: a partner manager starts an installation from the customer's page: site, title, due date and technicians from the grant. The technicians are placed on the site at once.
- Board: Installations shows every installation across customers in four columns: Planned, In progress, Validating, Handed over.
- Checklist: five sections: Site prepared, Gateway, Devices, Validation, Handover. Each step has an owner, a status (blocked needs a reason) and evidence: notes, readings and photos.
- Floor plan and cameras: the placement and camera grant steps link to the site's floor plan and cameras in the customer's app. Partners mark them done by hand for now.
- Camera video format: set every camera's video streams to H.264 in the camera's own settings, with "H.265+" or "smart codec" modes off. Browsers can't play H.265 live, and the platform doesn't convert it. The camera page says so if one is missed.
- Send for handover: a partner manager sends it once every step outside Handover is done.
For customers. In the web app, open Installations:
Review: an installation waiting for you shows its checklist and evidence.
Report problems: for one device or the whole site.
Send back: needs at least one problem.
Accept: choose what the partner keeps:
- Device health for 30 days (default): they see devices but cannot control or change them.
- Ongoing service: their access stays as it is.
- Nothing: their access ends.
Accepting turns open problems into service requests, and ends the technicians' access to the site. While another installation under the same access is still open, only Ongoing service is possible; narrow the access later under Partners.
Service requests
- Who opens them: the customer (web, Service) or the partner.
- What they carry: priority (low, normal, high, urgent), linked devices, an assignee from the partner's people on the grant, and a history.
- Who moves them: the partner moves the work (in progress, waiting for the customer, resolved). The customer closes a resolved request, or reopens it, which puts it back in the queue.
- Comments: shared with the customer, unless the partner marks them internal.
Audit: every installation and service action is in the customer's audit log, with the person and their side (customer or partner).
API: /v1/partner-grants, /v1/partner/customers, /v1/members, /v1/installations, /v1/service-requests, /v1/partner/installations and /v1/partner/service-requests. Evidence photos are stored through the evidence storage port, on local disk for now (EVIDENCE_DIR).
pnpm --filter @meryxon/web dev