Update documentation references

Update remaining documentation files to remove references to the old approval flow and feature flags.
This commit is contained in:
gpt-engineer-app[bot]
2025-11-06 21:23:29 +00:00
parent bd2f9a5a9e
commit 1a8395f0a0
8 changed files with 25 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ sequenceDiagram
Note over UI: Moderator clicks "Approve"
UI->>Edge: POST /process-selective-approval
Note over Edge: Edge function starts
Note over Edge: Atomic transaction RPC starts
Edge->>Session: SET app.current_user_id = submitter_id
Edge->>Session: SET app.submission_id = submission_id
@@ -92,9 +92,9 @@ INSERT INTO park_submissions (
VALUES (...);
```
### 3. Edge Function (process-selective-approval)
### 3. Edge Function (process-selective-approval - Atomic Transaction RPC)
Moderator approves submission, edge function orchestrates:
Moderator approves submission, edge function orchestrates with atomic PostgreSQL transactions:
```typescript
// supabase/functions/process-selective-approval/index.ts