- appsettings.Production.json: Grains:Registry UploadedFilesPath=/mnt/NTPFiles, TempUploadPath=/mnt/NTPFiles/tempuploadedfiles
- docker-compose (prod): bind-mount /mnt/NTPFiles into the container
- Orders grid: عدد السيارات / المستخدم centred
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Rebuild of the legacy ColdFusion NTP Grains module: Orders, Permits, Registry and Reports on a Dapper/Oracle API with a
metadata-driven React front end (Arabic RTL default, English LTR, light and dark).
Environments
- API: appsettings.{Development,QA,Production}.json carry only non-secret settings. Connection strings, Jwt__Key, CORS origin and
super users come from the server environment. Production and QA CORS origins fail closed until set. launchSettings gets a QA profile.
- Web: Vite modes qa and production (web/.env.qa, web/.env.production), configurable VITE_API_BASE, scripts build:qa and build:prod.
- docs/ENVIRONMENTS.md documents the three environments, required settings and a new-environment checklist.
Security and access
- Backend-driven permissions (GET /auth/permissions, [RequirePermission]) from GRAINS_SCREEN_PERMISSIONS; SU always allowed.
SQL in db/ (grains-screen-permissions.sql, registry-create-permissions.sql).
- OracleCredentialGuard stops retrying an account after ORA-01017 so a misconfigured copy cannot lock the database account.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>