Skip to content

feat: add env setup validation and admin approvals#79

Merged
MukundaKatta merged 1 commit intomainfrom
codex/rnht-env-and-admin-approval
Apr 20, 2026
Merged

feat: add env setup validation and admin approvals#79
MukundaKatta merged 1 commit intomainfrom
codex/rnht-env-and-admin-approval

Conversation

@MukundaKatta
Copy link
Copy Markdown
Owner

Summary

  • add a checked-in .env.example plus local setup validation notice
  • add reusable role-based approval helpers for sensitive admin actions
  • wire approval gating into service, news, and donation admin flows

Testing

  • npm test -- --run src/tests/lib/env.test.ts src/tests/lib/admin-approval.test.ts src/tests/pages/admin-services.test.tsx

Notes:

  • Focused tests pass in this clone.
  • A repo-wide TypeScript run still reports existing unrelated baseline errors in older test files.

Closes #77
Closes #78

@MukundaKatta MukundaKatta merged commit e84c749 into main Apr 20, 2026
1 check passed
@MukundaKatta MukundaKatta deleted the codex/rnht-env-and-admin-approval branch April 20, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add role-based access and approval workflow for sensitive admin operations Add a checked-in env template and startup validation for local setup

1 participant