Location Site Map
Route: /location-map, /location-map/:locationId
Permissions: sitemap.read, sitemap.draw, sitemap.floors
Hierarchy
Company → Branch → Zone → Floor → Draw map
| Level | Source |
|---|---|
| Company | Organizations collection |
| Branch | Locations, linked via Departments/Employees |
| Zone | Department zone field for that branch |
| Floor | Manually added in Site Map |
| Draw map | Cabin layout on floor plan |
There is no Building level — floors attach directly to zones.
Floor management
Floors are not imported from master data. Authorized users (sitemap.floors):
- Add floor — creates next sequential floor number
- Remove floor — deletes floor; remaining floors renumber automatically (1, 2, 3…)
Floor plan designer
Requires sitemap.draw permission (or Super Admin):
- Select a floor
- Enable Design mode
- Add cabins/spaces, drag to position
- Assign employees to cabins
- Save floor plan
Permissions configuration
- Settings → Roles & Permissions — role-based
sitemap.drawandsitemap.floors - Settings → Platform → Site map user overrides — per-user exceptions
Firestore
Floor and cabin data stored in siteMapNodes collection with embedded floorPlan.cabins[].
Demo data
Super Admin can seed Reliance demo site map nodes via Settings → Platform → Reliance demo seed.