Settings
Who it is for
Staff (admins).
What you can do
- Edit facility name, address, status, and map size.
- Edit move-in, reservation, and billing rules.
- Delete a facility from the Danger zone.
How it works
- Route:
/admin/facilities/[id]/settingsrenderscomponents/storage/FacilitySettings.tsx. - Updates use
updateFacilityandupsertFacilityPolicyinactions/storage.ts. - Delete uses
deleteFacilityIfEmptyinactions/facilityDelete.ts.
Limits
- The Danger zone card is on this page, below the policy form. The button is
Delete facility. - Rooms and size codes do not block delete. A tenant, reservation, or lease does.
- The tour must show that card and must not click the button.
Lockyard