mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 07:13:12 +00:00
Introduces DispatchUpliftRequest entity and tier-gated approval flow: vendors request a new NTE from the portal, dispatchers approve or deny in SHOC, and requests above a configurable threshold require a higher role. Adds DispatchController for PO-centric list/detail used by the new Vendor POs page. Seeds Dispatcher and Manager roles.
28 lines
837 B
JSON
28 lines
837 B
JSON
{
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Server=localhost,1433;Database=SeahavenIndustries;User Id=sa;Password=Local@Dev2026!;TrustServerCertificate=True;MultipleActiveResultSets=true"
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"SendGrid": {
|
|
"ApiKey": "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"
|
|
},
|
|
"JWT": {
|
|
"ValidAudience": "http://localhost:3000",
|
|
"ValidIssuer": "https://localhost:7195",
|
|
"Secret": "JWTAuthenticationHIGHsecuredPasswordVVVp1OH7Xzyr"
|
|
},
|
|
"FrontendBaseUrl": "http://localhost:3000",
|
|
"VendorPortal": {
|
|
"TokenLifetimeDays": 365
|
|
},
|
|
"Approvals": {
|
|
"UpliftTier1MaxUsd": 2500,
|
|
"Tier1Roles": [ "Admin", "Dispatcher" ],
|
|
"Tier2Roles": [ "Admin", "Manager" ]
|
|
}
|
|
}
|