Operations Administrator, Moderator & Support Console SOP
Staff operations manual for http://gjiadmin.netlify.app/ covering the staff-only perimeter gate (/signin), executive KPIs & geo heatmaps (/dashboard), KYC directory moderation (/users), 7-group RBAC matrices (/users/roles), consolidated job moderation & resolved audit logs (/jobs, /jobs/audit-logs), wallet ledger analytics (/wallet-ledger), and 4-second auto-polling support helpdesk (/support).
GJI Platform Administrators, Trust Moderators, Finance & Support Agents
https://gigjobsindia.com/
http://gjiadmin.netlify.app/
Staff-Only Perimeter & Role Enforcement
gjiadmin.netlify.app strictly permits tokens holding admin, moderator, or agent roles (case-insensitive). Public users (candidate/employer/customer) receive an immediate Access Denied block at /signin and in AdminLayout.
Immutable Resolved Staff Email Audit Trail
All administrative interventions on postings and assignments resolve actor UUIDs to human-readable staff emails inside /jobs/audit-logs.
1. End-to-End Architecture & Process Flowchart
Click the diagram below to inspect full resolution in lightbox view.

Figure 4.1 — Operations Admin Console Supervision, KYC & Audit Governance Flow
2. Verified Role Test Credentials (Sandbox / QA)
Single-role policy (AUTH-01) enforced across every account. Mobile SMS verification uses sandbox code 123456.
| Persona Role | Email (Click to Copy) | Password (Click to Copy) | Wallet | Operational Scope |
|---|---|---|---|---|
| Candidate (Gig Worker) | ₹5,000.00 | 7-step KYC profile, gig applications, shift attendance, UPI/NEFT payouts | ||
| Employer (Business) | ₹25,000.00 | 3-stage request wizard, applicant screening/approval, timesheets & reviews | ||
| Customer (Client) | ₹10,000.00 | On-demand service bookings, saved pincode locations, direct chat & ratings | ||
| Operations Admin (Staff) | N/A | Admin portal perimeter gate, KYC moderation, RBAC, ledger & support inbox |
3. Detailed Click-by-Click Operating Procedures
Staff Perimeter Gate Authentication
Authenticates internal GJI personnel via httpOnly cookie sessions (SEC-04) with JWT role-claim validation.
| # | User Action | UI Component / Control | Input / Validation Rule | Expected System Response |
|---|---|---|---|---|
| 1 | Open Admin Console Sign In | http://gjiadmin.netlify.app/signin | test.admin@gigjobsindia.com / GjiTest#2026Admin! | Validates x-client-app: gji-admin login against /api/auth/login. |
| 2 | Verify staff role & redirect | JWT role gate (["admin", "moderator", "agent"]) | Rejects candidate/employer/customer tokens with 403 block | Stores accessToken and routes staff user to /dashboard. |

Figure 4.2 — Admin Console Staff Perimeter Gate (/signin)
Executive Operations Summary & Geo-Demographics
Real-time platform metrics across active candidates, jobs/requests, radial job completion rate gauge, monthly bar charts, growth trends, and state-level heatmaps.
| # | User Action | UI Component / Control | Input / Validation Rule | Expected System Response |
|---|---|---|---|---|
| 1 | Inspect top KPI strip & radial gauge | PlatformMetrics & JobCompletionRate cards | Click "Refresh Metrics" or wait 60s auto-sync cycle | Recomputes Completed, In-Progress, Open, and Cancelled ratios from live microservices. |
| 2 | Evaluate regional workforce density | CandidateDemographics & CountryMap | Calls GET /api/users/analytics/demographics | Highlights candidate clusters across Telangana, Andhra Pradesh, Maharashtra, and Karnataka. |

Figure 4.3 — Executive Operations Summary Dashboard (/dashboard)
User Directory, KYC Filtering & Status Moderation
Manages Candidate, Employer, Customer, and Agent directories with All / Verified Only / Pending KYC pill filters, CSV export, Enroll New user modal, and 1-click Active/Inactive toggle.
| # | User Action | UI Component / Control | Input / Validation Rule | Expected System Response |
|---|---|---|---|---|
| 1 | Filter users by Role tab and KYC badge | Role Tabs + KYC Status Pills ("Verified Only", "Pending KYC") | Search by Name, Email, or Phone | Displays filtered table rows with Email/Mobile verification badges. |
| 2 | Toggle user activation or export CSV | Status Toggle Action / "Export Roster (CSV)" | PATCH /api/users/[id]/status triggers status audit | Updates user status (active / inactive / suspended) immediately. |

Figure 4.4 — Multi-Role User Management & KYC Moderation (/users)
Role-Based Access Control (RBAC) Governance
Configures canonical roles and granular permission matrices across User, Role, Job, Service, Payment, Admin, and Support modules.
| # | User Action | UI Component / Control | Input / Validation Rule | Expected System Response |
|---|---|---|---|---|
| 1 | Open Roles & Permissions matrix | User Management -> "Roles & Permissions (RBAC)" (/users/roles) | Inspect Total Roles (6), Active Roles, and 19 Unique Permissions KPI cards | Loads all system-protected roles (admin, candidate, employer, customer, agent, moderator). |
| 2 | Audit granular capabilities & edit permissions | Edit Role Action -> 7 Permission Groups Checklist | Verify User, Role, Job, Service, Payment, Admin, and Support toggles | Enforces AUTH-01 single-role assignment on login while preserving granular RBAC gates. |
| 3 | Create custom staff role (optional) | Blue "+ Create New Role" CTA button | Provide role name, description, and checked permissions | Saves new role definition in PostgreSQL roles table. |

Figure 4.5 — Roles & Granular RBAC Matrix (/users/roles)
Consolidated Postings Grid & Immutable Audit Trail
Audits both Employer Job listings and Customer Service bookings in /jobs alongside full chronological staff interventions in /jobs/audit-logs.
| # | User Action | UI Component / Control | Input / Validation Rule | Expected System Response |
|---|---|---|---|---|
| 1 | Filter Consolidated Postings Grid (/jobs) | Tabs: All Items / Jobs (Employers) / Services (Customers) | Filter by Task Status, Priority Level, and Payment Status | Shows Escrow Value Held, Urgent counts, and CSV export. |
| 2 | Trace staff interventions (/jobs/audit-logs) | Job & Service Audit Trail table | Filter by posting type or action type | Displays Timestamp, Staff/Actor Email, Action Type, State Transition, and Notes. |

Figure 4.6 — Immutable Platform Audit Trail (/jobs/audit-logs)
Wallet Cashflow Ledger & Live Support Helpdesk
Monitors Escrow Collections vs. Worker Payouts on /wallet-ledger and responds to customer/employer tickets on the 4-second auto-polling /support desk.
| # | User Action | UI Component / Control | Input / Validation Rule | Expected System Response |
|---|---|---|---|---|
| 1 | Audit financial collections vs payouts | Transactions & Wallet -> Wallet Ledger & Payouts (/wallet-ledger) | Inspect Total Collections, Disbursed Payouts & Retained Margin chart | Tracks cashflow trends weekly, monthly, quarterly, or annually. |
| 2 | Resolve inbound /contact-us & app tickets | Helpdesk & Support -> Live Chat Inbox (/support) | Filter All / Open / In Review / Resolved -> select thread -> reply or launch "+ Outreach" | Polls messages every 4 seconds and updates ticket status smoothly. |

Figure 4.7 — Live Support & Helpdesk Operations Desk (/support)
