Administration
Settings
Roles, permissions, environment readiness, and hosted deployment configuration.
Org
SiteLedger Builders
Commercial interiors, adaptive reuse, light industrial
Database
Demo seed
Lazy DB client avoids build-time env failures
Roles
8
Owner through portal users
Secrets
Env only
No credentials committed
Role permissions
Server-side authorization should re-check these permissions before mutations.
project.read, project.write, estimate.write, bid.respond, field.write, financial.read, financial.write, portal.approve, settings.manage
project.read, project.write, estimate.write, bid.respond, field.write, financial.read, financial.write, settings.manage
project.read, project.write, bid.respond, field.write, financial.read, financial.write
project.read, project.write, field.write
project.read, estimate.write, bid.respond, financial.read
project.read, financial.read, financial.write
project.read, bid.respond, field.write
project.read, portal.approve
Deployment checklist
Configured for GitHub, Vercel, and Neon.
DATABASE_URL
Pooled Neon runtime connection string
DIRECT_DATABASE_URL
Direct connection for migrations
AUTH_SECRET
Session or auth provider secret
NEXT_PUBLIC_APP_URL
Base app URL for portal links