docs: correct Marks Field Service (legacy CRM) in the beta README
spikersoft-backend@master SpikerSoft.Api/Domain/Employees/EmployeesController.cs:31 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
27ae27cdea
commit
37801c255e
1 file changed
+3
-3
@@ -2479,14 +2479,14 @@ The original single-tenant field-service CRM for the Mark Wilson generator-servi
|
||||
- **Customer CRUD** — Create, view, update residential and commercial customer records
|
||||
- **Google Maps integration** — Visualize customer locations and plan service routes
|
||||
- **Equipment tracking** — Generator and propane tank inventory per customer
|
||||
- **Service contracts** — Track service agreements and maintenance schedules
|
||||
- **Address management** — Structured addresses with postal code lookup integration
|
||||
- **Service contracts** — The customer document stores maintenance contracts (start date, end date, and the generator). The service-contract screen still shows a hardcoded sample and does not load or save them
|
||||
- **Address management** — Structured addresses with a US state dropdown. The postal code is typed in; the form does not look up city or state from it
|
||||
|
||||
### Scope
|
||||
|
||||
The backend surface is far larger than one controller: `MarkWilsonsCustomerController` (route `/api/mark-wilson/customer`) plus supporting domains `ServiceCalls`, `ServiceCallReasons`, `Employees`, `Parts`, `Labors`, `Milages`, `FuelTypes`, `GeneratorBrands`, `AddressTypes`, `PhoneTypes`. The frontend lives under `_components/marks-site/` (`marks-landing-page`, `marks-customer-list`, `marks-generator`, `marks-propane-tank`, `marks-service-call`, `marks-service-contract`, `marks-address`).
|
||||
|
||||
> **Auth note:** because this CRM shares the main Keycloak realm with student/consumer accounts, all of it is gated `Admin/Staff` — a plain `[Authorize]` here once let any platform user read customer PII, fixed in spikersoft-issues#688's follow-ups.
|
||||
> **Auth note:** the customer controller is `[Authorize(Roles = "Admin,admin,Staff,staff")]`. A bare `[Authorize]` once let any platform user read customer PII; that controller is staff-gated now (spikersoft-issues#688). Service calls, service-call reasons, parts, labor, and mileage use the same role gate. Employees, and reads of fuel types, address types, phone types, and generator brands, are any signed-in user. Generator-brand writes are Admin/Staff.
|
||||
|
||||
### Key Files
|
||||
|
||||
|
||||
Reference in new issue
Block a user